From 5e41510484106e8a923aa6b0b08eaf86eef7cc6c Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Tue, 7 Apr 2015 10:41:18 -0700 Subject: [PATCH] udpate tests Signed-off-by: Victor Vieux --- discovery/file/file_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discovery/file/file_test.go b/discovery/file/file_test.go index 6deede99fc..9f5a5dc250 100644 --- a/discovery/file/file_test.go +++ b/discovery/file/file_test.go @@ -36,9 +36,11 @@ func TestParsingContentsWithComments(t *testing.T) { 1.1.1.1:1111 # inline comment # 2.2.2.2:2222 ### empty line with comment + 3.3.3.3:3333 ### test ### ` ips := parseFileContent([]byte(data)) - assert.Equal(t, 1, len(ips)) + assert.Equal(t, 2, len(ips)) assert.Equal(t, "1.1.1.1:1111", ips[0]) + assert.Equal(t, "3.3.3.3:3333", ips[1]) }