Skip to content

Commit

Permalink
Fix typos in ethernet_addr tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaxxz committed Feb 28, 2015
1 parent e10e255 commit 14b91fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/decode/ethernet_addr.spec.js
Expand Up @@ -12,7 +12,7 @@ describe("EthernetAddr", function(){
EthernetAddr.should.be.type("function");
});

it("decodes ip address", function() {
it("decodes ethernet(MAC) address", function() {
var instance = new EthernetAddr(exampleIp, 0);
instance.should.have.property("addr", [1,2,3,4,5,6]);
});
Expand All @@ -28,7 +28,7 @@ describe("EthernetAddr", function(){
instance.toString.should.be.type("function");
});

it("returns a string with octets delimited by :", function(){
it("returns a string like 01:02:03:04:05:06", function(){
var result = instance.toString();
result.should.be.exactly("01:02:03:04:05:06");
});
Expand Down

0 comments on commit 14b91fc

Please sign in to comment.