mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-18 14:35:14 +01:00
adjust options for logical fuzz test
This commit is contained in:
@@ -211,7 +211,7 @@ mod tests {
|
||||
// unfortunatelly, sqlite behaves weirdly when IS operator is used with TRUE/FALSE constants
|
||||
// e.g. 8 IS TRUE == 1 (although 8 = TRUE == 0)
|
||||
// so, we do not use TRUE/FALSE constants as they will produce diff with sqlite results
|
||||
.options_str(["1", "0", "NULL", "1.0", "1.5", "-0.5", "-1.0", "'x'"])
|
||||
.options_str(["1", "0", "NULL", "2.0", "1.5", "-0.5", "-2.0", "(1 / 0)"])
|
||||
.build();
|
||||
|
||||
let sql = g.create().concat(" ").push_str("SELECT").push(expr).build();
|
||||
|
||||
Reference in New Issue
Block a user