MCPcopy Create free account
hub / github.com/Shopify/go-lua / TestStringCompare

Function TestStringCompare

go_test.go:15–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

13)
14
15func TestStringCompare(t *testing.T) {
16 s1 := "hello\x00world"
17 s2 := "hello\x00sweet"
18 if s1 <= s2 {
19 t.Error("s1 <= s2")
20 }
21}
22
23func TestStringLength(t *testing.T) {
24 s := "hello\x00world"

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…