Browse Source

Stupid mistake

Piotr Czajkowski 3 years ago
parent
commit
48311892ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app_test.go

+ 1 - 1
app_test.go

@@ -49,7 +49,7 @@ func TestSerializeDeserializeEncodedText(t *testing.T) {
 		t.Errorf("Error deserializing encoded text: %s", err)
 	}
 
-	decodedText := DecodeText(encoded)
+	decodedText := DecodeText(toDecode)
 	if decodedText != expected {
 		t.Errorf("Decoded text '%s' should be same as expected text '%s'!", decodedText, expected)
 	}