We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c38a4b9 commit d055091Copy full SHA for d055091
tests/boolean_test.go
@@ -207,7 +207,6 @@ func TestBooleanDefaultValue(t *testing.T) {
207
var got BooleanTest
208
DB.First(&got, bt.ID)
209
210
- // Expect default (false or NULL depending on DB)
211
if got.Flag != false {
212
t.Errorf("expected default false, got %v", got.Flag)
213
}
@@ -230,7 +229,6 @@ func TestBooleanQueryMixedComparisons(t *testing.T) {
230
229
t.Errorf("expected at least 1 row for FLAG=1")
231
232
233
- // FILTER USING TEXT (invalid in Oracle)
234
var gotStr []BooleanTest
235
if err := DB.Where("FLAG = 'true'").Find(&gotStr).Error; err == nil {
236
t.Errorf("expected ORA-01722 when comparing NUMBER to string literal")
0 commit comments