From ee756b3b49d9265d206b671fa612b2b8077ecc73 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Feb 13 2019 13:38:09 +0000 Subject: Upload patch --- diff --git a/0001-Fix-format.patch b/0001-Fix-format.patch new file mode 100644 index 0000000..365cb6d --- /dev/null +++ b/0001-Fix-format.patch @@ -0,0 +1,25 @@ +From 1abfea4f61446fff72de41a3e64cae0de1395399 Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka +Date: Wed, 13 Feb 2019 14:25:56 +0100 +Subject: [PATCH] Fix format + +--- + patricia/patricia_sparse_test.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/patricia/patricia_sparse_test.go b/patricia/patricia_sparse_test.go +index 27f3c87..55ba607 100644 +--- a/patricia/patricia_sparse_test.go ++++ b/patricia/patricia_sparse_test.go +@@ -123,7 +123,7 @@ func TestTrie_SetGet(t *testing.T) { + value := trie.Get(Prefix(v.key)) + t.Logf("GET %q => %v", v.key, value) + if value.(int) != 10 { +- t.Errorf("Unexpected return value, != 10", value) ++ t.Errorf("Unexpected return value, %v != 10", value) + } + } + +-- +2.7.5 +