go-jsonnet/testdata/builtinBase64_invalid_byte_array.golden
Wes McNamee e8bd3f4ff8 feat: improve stdlib base64 performance by 98.58%+
Implements std.base64 in native Go, improving performance

benchmark                                 old ns/op       new ns/op     delta
Benchmark_Builtin_base64-16               10805730974     23158636      -99.79%
Benchmark_Builtin_base64_bytearray-16     8682808704      123360964     -98.58%
2020-01-27 09:40:21 +01:00

11 lines
302 B
Plaintext

RUNTIME ERROR: base64 encountered a non-integer value in the array, got string
-------------------------------------------------
testdata/builtinBase64_invalid_byte_array:1:1-23 builtin function <base64>
std.base64([1, "foo"])
-------------------------------------------------
During evaluation