spec/ast_spec.rb in webidl-0.0.5 vs spec/ast_spec.rb in webidl-0.0.6
- old
+ new
@@ -180,9 +180,12 @@
ex.name.should == "FrameworkException"
ex.qualified_name.should == '::framework::FrameworkException'
ex.members.size.should == 2
+ xattr = ex.extended_attributes
+ xattr.first.name.should == "Supplemental"
+
first, last = ex.members
first.should be_kind_of(WebIDL::Ast::Const)
first.name.should == "ERR_NOT_FOUND"
first.qualified_name.should == '::framework::FrameworkException::ERR_NOT_FOUND'