small medium large xlarge

Me_small_pragsmall
09 Oct 2010, 16:50
Justin Bennewith (2 posts)

While running the Rake Test from page 115 I am getting a syntax error.

/opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.0.rc2/lib/active_support/dependencies.rb:235:in `load': ./test/unit/product_test.rb:83: syntax error, unexpected $end, expecting kEND (SyntaxError)
  end
     ^
	from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.0.rc2/lib/active_support/dependencies.rb:235:in `load'
	from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.0.rc2/lib/active_support/dependencies.rb:227:in `load_dependency'
	from /opt/local/lib/ruby/gems/1.8/gems/activesupport-3.0.0.rc2/lib/active_support/dependencies.rb:235:in `load'
	from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
	from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
........
Finished in 0.182648 seconds.

8 tests, 11 assertions, 0 failures, 0 errors
Errors running test:units!

Me_small_pragsmall
09 Oct 2010, 23:10
Justin Bennewith (2 posts)

I actually just need to know if this is a problem. I’ve no idea what it means or how to correct it.

Samr_small_pragsmall
10 Oct 2010, 02:56
Sam Ruby (634 posts)

test/unit/product_test.rb:83: syntax error, unexpected $end</blockquote>

Can you post the last test through the end of the file from test/unit/product_test.rb?

You must be logged in to comment