go-jsonnet/testdata/percent_format_str6.golden
Hanyu Cui cd59751527
Distinguish go-jsonnet from cpp-jsonnet in version message (#497)
Distinguish the Go implementation in the version message
2021-01-13 20:46:15 +01:00

48 lines
1.4 KiB
Plaintext

RUNTIME ERROR: Not enough values to format: 1, expected more than 1
-------------------------------------------------
<std>:717:15-103 thunk <val> from <function <format_codes_arr>>
error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2);
-------------------------------------------------
<std>:722:27-30 thunk from <thunk <s> from <function <format_codes_arr>>>
format_code(val, code, tmp.fw, tmp2.prec, j2);
-------------------------------------------------
<std>:592:22-25 thunk from <function <format_code>>
std.toString(val)
-------------------------------------------------
<std>:592:9-26 function <format_code>
std.toString(val)
-------------------------------------------------
... (skipped 10 frames)
-------------------------------------------------
<std>:733:11-64 function <format_codes_arr>
format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict;
-------------------------------------------------
<std>:781:7-48 function <anonymous>
format_codes_arr(codes, [vals], 0, 0, ''),
-------------------------------------------------
<std>:237:7-23 function <anonymous>
std.format(a, b)
-------------------------------------------------
testdata/percent_format_str6:1:1-16
"x %s %s" % "y"
-------------------------------------------------
During evaluation