mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Rename "!=" to "<>"; "!" now only shows impurity
This commit is contained in:
1 parent
f8d02cfb16
commit
ef7aa0d980
11 files changed
+82
-83
No files matched your search
@@ -86,7 +86,7 @@ func TestCheck(tt *testing.T) {
|
||||
while:label p == q,
|
||||
pre true,
|
||||
inv true,
|
||||
post p != q,
|
||||
post p <> q,
|
||||
{
|
||||
// Redundant, but shows the labeled jump syntax.
|
||||
continue:label
|
||||
@@ -191,7 +191,7 @@ func TestConstValues(tt *testing.T) {
|
||||
"i = 10 | 3": 11,
|
||||
"i = 10 ^ 3": 9,
|
||||
|
||||
"b = 10 != 3": 1,
|
||||
"b = 10 <> 3": 1,
|
||||
"b = 10 < 3": 0,
|
||||
"b = 10 <= 3": 0,
|
||||
"b = 10 == 3": 0,
|
||||
|
||||
Reference in new issue
Block a user