Tests for finite float bounds, plain integer args, constant samples and divisors, the default separator, binding keys in paths, DEL in ascii, and an unheld path
Tests / vet + fmt + tests (pull_request) Failing after 42s
Tests / vet + fmt + tests (pull_request) Failing after 42s
This commit is contained in:
@@ -51,3 +51,9 @@ func TestTransformArgs(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestAsciiKeepsDEL(t *testing.T) {
|
||||
if got := mustRender(t, engine(1), `{"format":"{ascii(x)}","x":"a\u007fb"}`); got != "a\u007fb" {
|
||||
t.Errorf("ascii over DEL = %q, want it kept: DEL is ASCII", got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user