Created
June 3, 2011 02:44
-
-
Save tjkirch/1005773 to your computer and use it in GitHub Desktop.
Syntax error causing ruby koans success
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/koans/about_asserts.rb b/koans/about_asserts.rb | |
index e1c34d4..bf19c21 100644 | |
--- a/koans/about_asserts.rb | |
+++ b/koans/about_asserts.rb | |
@@ -3,7 +3,7 @@ | |
require File.expand_path(File.dirname(__FILE__) + '/edgecase') | |
-class AboutAsserts < EdgeCase::Koan | |
+class AboutAsserts < EdgeCase::Koan < | |
# We shall contemplate truth by testing reality, via asserts. | |
def test_assert_truth | |
$ rake | |
(in /home/tjkirch/code/ruby/ruby_koans/koans) | |
/home/tjkirch/.rvm/rubies/ruby-1.9.2-p180/bin/ruby path_to_enlightenment.rb | |
,, , ,, | |
: ::::, :::, | |
, ,,: :::::::::::::,, :::: : , | |
, ,,, ,:::::::::::::::::::, ,: ,: ,, | |
:, ::, , , :, ,::::::::::::::::::, ::: ,:::: | |
: : ::, ,:::::::: ::, ,:::: | |
, ,::::: :,:::::::,::::, | |
,: , ,:,,: ::::::::::::: | |
::,: ,,:::, ,::::::::::::, | |
,:::, :,,::: ::::::::::::, | |
,::: :::::::, Mountains are again merely mountains ,:::::::::::: | |
:::,,,:::::: :::::::::::: | |
,:::::::::::, ::::::::::::, | |
:::::::::::, ,:::::::::::: | |
::::::::::::: ,:::::::::::: | |
:::::::::::: Ruby Koans ::::::::::::, | |
:::::::::::: (in Ruby 1.9.2) ,::::::::::::, | |
:::::::::::, , :::::::::::: | |
,:::::::::::::, brought to you by ,,::::::::::::, | |
:::::::::::::: ,:::::::::::: | |
::::::::::::::, ,::::::::::::: | |
::::::::::::, EdgeCase Software Artisans , :::::::::::: | |
:,::::::::: :::: ::::::::::::: | |
,::::::::::: ,: ,,:::::::::::::, | |
:::::::::::: ,::::::::::::::, | |
:::::::::::::::::, :::::::::::::::: | |
:::::::::::::::::::, :::::::::::::::: | |
::::::::::::::::::::::, ,::::,:, , ::::,::: | |
:::::::::::::::::::::::, ::,: ::,::, ,,: :::: | |
,:::::::::::::::::::: ::,, , ,, ,:::: | |
,:::::::::::::::: ::,, , ,:::, | |
,:::: , ,, | |
,,, | |
/home/tjkirch/code/ruby/ruby_koans/koans/about_asserts.rb:11:in `<': compared with non class/module (TypeError) | |
from /home/tjkirch/code/ruby/ruby_koans/koans/about_asserts.rb:11:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from path_to_enlightenment.rb:5:in `<main>' | |
rake aborted! | |
Command failed with status (1): [/home/tjkirch/.rvm/rubies/ruby-1.9.2-p180/...] | |
/home/tjkirch/code/ruby/ruby_koans/koans/Rakefile:10:in `block in <top (required)>' | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment