Skip to content

Commit

Permalink
* sample/test.rb: sort files for syntax validataion.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Feb 7, 2010
1 parent dd4537a commit fe0598a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Sun Feb 7 23:12:34 2010 Tanaka Akira <[email protected]>

* sample/test.rb: sort files for syntax validataion.

Sun Feb 7 23:08:53 2010 Tanaka Akira <[email protected]>

* bootstraptest/runner.rb: sort test files.
Expand Down
2 changes: 1 addition & 1 deletion sample/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,7 @@ def valid_syntax?(code, fname)
false
end

for script in Dir["#{dir}{lib,sample,ext,test}/**/*.rb"]
for script in Dir["#{dir}{lib,sample,ext,test}/**/*.rb"].sort
unless valid_syntax? IO::read(script), script
STDERR.puts script
$bad = true
Expand Down

0 comments on commit fe0598a

Please sign in to comment.