spec/parser_spec.rb in webidl-0.0.7 vs spec/parser_spec.rb in webidl-0.0.8

- old
+ new

@@ -52,10 +52,13 @@ parse(str).should_not be_nil end it "parses array types" do str = <<-IDL - interface Bar { readonly attribute short[] foo; }; + interface Bar { + readonly attribute short[] foo; + readonly attribute short[ ] bar; + }; IDL parse(str).should_not be_nil end