summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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