From aa2174f991767165c7f485c6625d181c872ac1fc Mon Sep 17 00:00:00 2001 From: Jack Wakefield Date: Thu, 29 Mar 2018 18:16:40 +0100 Subject: [PATCH] Fix tests --- runtime_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime_test.go b/runtime_test.go index 1716c6b..d937f3b 100644 --- a/runtime_test.go +++ b/runtime_test.go @@ -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) {