go-jsonnet/testdata/builtinBase64Decode_invalid_base64_data.golden
Wes McNamee 399a61ca31 feat: improve std.base64Decode performance 97%+ (#346)
feat: improve std.base64Decode performance 97%+

Provides a Go-native implementation of std.base64Decode and std.base64DecodeBytes

benchmark                                  old ns/op       new ns/op     delta
Benchmark_Builtin_base64Decode-16          10946388307     25004135      -99.77%
Benchmark_Builtin_base64DecodeBytes-16     6420742757      181513016     -97.17%

related to #111
2020-01-27 14:31:45 +01:00

11 lines
333 B
Plaintext

RUNTIME ERROR: input string appears not to be a base64 encoded string. Wrong length found (5)
-------------------------------------------------
testdata/builtinBase64Decode_invalid_base64_data:1:1-26 builtin function <base64Decode>
std.base64Decode("wrong")
-------------------------------------------------
During evaluation