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

- old
+ new

@@ -58,9 +58,17 @@ IDL parse(str).should_not be_nil end + it "parses hex numbers" do + str = <<-IDL + interface Bar { const unsigned long NULL = 0x0000; }; + IDL + + parse(str).should_not be_nil + end + it "parses the WebSocket interface idl" do parse(fixture("websocket.idl")).should_not be_nil end it "parses the HTML5 DOM interface idl" do