mruby/mruby — pull request #2331 by take-cheeze (2014-05-29 13:14:23+00:00)
Title: Improve `Struct` test.

* Use `assert_*` method in `Struct` test.
* Improve `Struct#[]` and `Struct#[]=` tests. Checks raised exceptions and negative value index.
* Optimization using `mrb_check_intern_str()` seems to conflict with `NameError` raising when it is implemented as how it's defined in specification.