spec/trema/match_spec.rb in trema-0.2.5 vs spec/trema/match_spec.rb in trema-0.2.6

- old
+ new

@@ -51,10 +51,10 @@ its( :nw_src ) { subject.prefixlen.should == 32 } its( :nw_dst ) { subject.to_s.should == "192.168.0.0" } its( :nw_dst ) { subject.prefixlen.should == 24 } its( :tp_src ) { should == 10 } its( :tp_dst ) { should == 20 } - its( :to_s ) { should == "wildcards = 0x20000(nw_dst(8)), in_port = 1, dl_src = 00:00:00:00:00:01, dl_dst = 00:00:00:00:00:02, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 17, nw_src = 192.168.0.1/32, nw_dst = 192.168.0.0/24, tp_src = 10, tp_dst = 20" } + its( :to_s ) { should == "wildcards = 0x20000(nw_dst(8)), in_port = 1, dl_src = 00:00:00:00:00:01, dl_dst = 00:00:00:00:00:02, dl_vlan = 0xffff, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 17, nw_src = 192.168.0.1/32, nw_dst = 192.168.0.0/24, tp_src = 10, tp_dst = 20" } end describe Match, ".compare" do it "Should match" do