aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/binop.txt
diff options
context:
space:
mode:
authorMarc-Antoine Ruel <[email protected]>2018-11-08 15:06:53 -0500
committerMarc-Antoine Ruel <[email protected]>2018-11-08 20:48:29 -0500
commitb1cf69a523c81320b36392a16ef9f08ad0e004bc (patch)
tree6e902afea10bd7c9386055c43eea693b0103a3e9 /testdata/binop.txt
parent76d04990f4cb484ce46c2a6310f8918da2927383 (diff)
downloadtinygo-b1cf69a523c81320b36392a16ef9f08ad0e004bc.tar.gz
tinygo-b1cf69a523c81320b36392a16ef9f08ad0e004bc.zip
compiler: implement binop string: <, <=, >, >=
Include unit tests.
Diffstat (limited to 'testdata/binop.txt')
-rw-r--r--testdata/binop.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/testdata/binop.txt b/testdata/binop.txt
index ef3bec46d..1e2f40e70 100644
--- a/testdata/binop.txt
+++ b/testdata/binop.txt
@@ -1,7 +1,26 @@
+string equality
true
false
false
true
+string inequality
+false
+true
+false
+true
+false
+true
+false
+true
+false
+true
+false
+true
+true
+false
+false
+true
+struct equality
true
false
false
@@ -10,6 +29,7 @@ false
true
true
true
+blank fields in structs
true
false
true