Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwakefield committed Mar 29, 2018
1 parent 6ff9c78 commit aa2174f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ func TestRuntimeDnsDomainLevels(t *testing.T) {

www, err := callNumberFunction(rt, "dnsDomainLevels", "www")
assert.Nil(t, err, "should not error")
assert.Equal(t, www, 0, "'www' should contain 0 domain levels")
assert.Equal(t, www, int64(0), "'www' should contain 0 domain levels")

netscape, err := callNumberFunction(rt, "dnsDomainLevels", "www.netscape.com")
assert.Nil(t, err, "should not error")
assert.Equal(t, netscape, 2, "'www.netscape.com' should contain 2 domain levels")
assert.Equal(t, netscape, int64(2), "'www.netscape.com' should contain 2 domain levels")
}

func TestRuntimeShExpMatch(t *testing.T) {
Expand Down

0 comments on commit aa2174f

Please sign in to comment.