(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer)
| 68 | } |
| 69 | |
| 70 | func WriteCSUP(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer) { |
| 71 | writer := csup.NewValWriter(sio.NopCloser(buf)) |
| 72 | require.NoError(t, sio.Copy(writer, sbuf.NewArray(valuesIn))) |
| 73 | require.NoError(t, writer.Close()) |
| 74 | } |
| 75 | |
| 76 | func RunQueryBSUP(t testing.TB, buf *bytes.Buffer, querySource string) []super.Value { |
| 77 | sctx := super.NewContext() |