summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-07 14:13:19 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-07 14:13:19 +0000
commitfe0598ac828ffa93e960fc7f5a6c86a6bc2572c2 (patch)
tree1672e1ac2971b1fc57d33e62564f7e0693d9ca3e
parentdd4537ad99716a106d99d624bdb97a1d66ba8721 (diff)
* sample/test.rb: sort files for syntax validataion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--sample/test.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 369fbf1f570..e1898d8c340 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Feb 7 23:12:34 2010 Tanaka Akira <akr@fsij.org>
+
+ * sample/test.rb: sort files for syntax validataion.
+
Sun Feb 7 23:08:53 2010 Tanaka Akira <akr@fsij.org>
* bootstraptest/runner.rb: sort test files.
diff --git a/sample/test.rb b/sample/test.rb
index f3ac9c4a491..fc7a7f5db7b 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -1941,7 +1941,7 @@ rescue Exception
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