summaryrefslogtreecommitdiff
path: root/calc_test.go
diff options
context:
space:
mode:
authorgonghaibinx <116247046+gonghaibinx@users.noreply.github.com>2022-10-21 00:04:32 +0800
committerGitHub <noreply@github.com>2022-10-21 00:04:32 +0800
commitf843a9ea56710deb4cdb77ea2cd3a08d8d82d3e6 (patch)
treec51e18bdd69c3f4346264e75cc1c658c86433c65 /calc_test.go
parent2df615fa2831bd578371d4e3606f16461c474ce7 (diff)
Fix the formula calculation result issue of the OR function (#1374)
Co-authored-by: gonghaibin <gonghaibin@qq.com>
Diffstat (limited to 'calc_test.go')
-rw-r--r--calc_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/calc_test.go b/calc_test.go
index df86f90..ea3f014 100644
--- a/calc_test.go
+++ b/calc_test.go
@@ -1421,6 +1421,7 @@ func TestCalcCellValue(t *testing.T) {
"=OR(0)": "FALSE",
"=OR(1=2,2=2)": "TRUE",
"=OR(1=2,2=3)": "FALSE",
+ "=OR(1=1,2=3)": "TRUE",
"=OR(\"TRUE\",\"FALSE\")": "TRUE",
// SWITCH
"=SWITCH(1,1,\"A\",2,\"B\",3,\"C\",\"N\")": "A",