Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test fails due a Bang! #24

Closed
zeroed opened this issue Apr 29, 2013 · 2 comments
Closed

test fails due a Bang! #24

zeroed opened this issue Apr 29, 2013 · 2 comments

Comments

@zeroed
Copy link

zeroed commented Apr 29, 2013

Hi...

Great code, great gem!
^_^

But running the test I've found a test that fail due a bang:

eddie@white:~/Coding/map$ ruby test/map_test.rb 
Loaded suite test/map_test
Started
................E
===============================================================================
Error: test_00016_simple-struct-usage(TESTING_001_MAP)
  IndexError: !
/home/eddie/Coding/map/lib/map/struct.rb:27:in `method_missing'
/home/eddie/Coding/map/test/lib/testing.rb:47:in `assert'
test/map_test.rb:178:in `block (2 levels) in <main>'
===============================================================================
E
===============================================================================
Error: test_00017_nested-struct-usage(TESTING_001_MAP)
  IndexError: !
/home/eddie/Coding/map/lib/map/struct.rb:27:in `method_missing'
/home/eddie/Coding/map/test/lib/testing.rb:47:in `assert'
test/map_test.rb:185:in `block (2 levels) in <main>'
===============================================================================
.......................................

Finished in 0.264128141 seconds.

57 tests, 4952 assertions, 0 failures, 2 errors, 0 pendings, 0 omissions, 0 notifications
96.4912% passed
@ahoward
Copy link
Owner

ahoward commented Mar 16, 2014

fixed.

@ahoward ahoward closed this as completed Mar 16, 2014
@voxik
Copy link

voxik commented Jun 25, 2015

Sorry, but this still fails with test-unit, while it is not issue for minitest. IOW, this does not work for Ruby 2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants