Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajitpratap0/GoSQLX
/ TestSetOffset_Negative
Function
TestSetOffset_Negative
pkg/transform/limit_test.go:121–127 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
119
}
120
121
func
TestSetOffset_Negative(t *testing.T) {
122
stmt := mustParse(t,
"SELECT * FROM users"
)
123
err := Apply(stmt, SetOffset(-5))
124
if
err == nil {
125
t.Fatal(
"expected error for negative offset"
)
126
}
127
}
Callers
nothing calls this directly
Calls
3
mustParse
Function · 0.85
Apply
Function · 0.85
SetOffset
Function · 0.85
Tested by
no test coverage detected