diff options
author | murphy <murphy@rubychan.de> | 2006-10-17 10:10:35 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-10-17 10:10:35 +0000 |
commit | 5e0d6d97bf4676ab1c1ca9b06590dd774d263b0d (patch) | |
tree | db433d0109b087ffaa3f25fece64ea62c7481e8e /sample/suite.rb | |
parent | 975a2fd6ea64529d993bc1412899fad386ff02ea (diff) | |
download | coderay-5e0d6d97bf4676ab1c1ca9b06590dd774d263b0d.tar.gz |
Renamed demo files (trim demo_ prefix).
Diffstat (limited to 'sample/suite.rb')
-rw-r--r-- | sample/suite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/suite.rb b/sample/suite.rb index 783fe70..e38cae4 100644 --- a/sample/suite.rb +++ b/sample/suite.rb @@ -33,7 +33,7 @@ class CodeRaySuite < TestCase if File.exist? output
expected = File.read output
ok = expected == result
- computed = output.sub('.out', '.computed')
+ computed = output.sub('.expected', '.computed')
unless ok
File.open(computed, 'w') { |f| f.write result }
print `diff #{output} #{computed}` if $DEBUG
|