mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Note: 1 = 2 is different from 1 == 2 See issue for details fixes #144 Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
27 lines
637 B
YAML
27 lines
637 B
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
cases:
|
|
- note: single-expression query producing false
|
|
data: {}
|
|
modules: []
|
|
query: 1 == 2
|
|
want_result: false
|
|
|
|
- note: single-expression query producing no results (due to undefined)
|
|
data: {}
|
|
modules: []
|
|
query: 1 = 2
|
|
no_result: true
|
|
|
|
- note: multi-expression query in which one expression is false (1)
|
|
data: {}
|
|
modules: []
|
|
query: "1 == 1; 1 == 2"
|
|
no_result: true
|
|
|
|
- note: multi-expression query in which one expression is false (2)
|
|
data: {}
|
|
modules: []
|
|
query: "1 == 2; 1 == 1"
|
|
no_result: true
|