aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/while.zig
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-05 14:29:28 +0600
committerEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-13 23:46:58 +0600
commitd884d7050e061c620324aaaabfba507e08cb40f4 (patch)
treefa0b5994341509ef81d7244788ea3e37b13f6d27 /test/behavior/while.zig
parent6078781ae52fc2c85559f622f58c303b73d8a6a5 (diff)
downloadzig-d884d7050e061c620324aaaabfba507e08cb40f4.tar.gz
zig-d884d7050e061c620324aaaabfba507e08cb40f4.zip
all: replace `comptime try` with `try comptime`
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'test/behavior/while.zig')
-rw-r--r--test/behavior/while.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/behavior/while.zig b/test/behavior/while.zig
index a051a8fd3b..e52b394746 100644
--- a/test/behavior/while.zig
+++ b/test/behavior/while.zig
@@ -122,7 +122,7 @@ test "while copies its payload" {
}
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "continue and break" {
@@ -293,7 +293,7 @@ test "while bool 2 break statements and an else" {
}
};
try S.entry(true, false);
- comptime try S.entry(true, false);
+ try comptime S.entry(true, false);
}
test "while optional 2 break statements and an else" {
@@ -312,7 +312,7 @@ test "while optional 2 break statements and an else" {
}
};
try S.entry(true, false);
- comptime try S.entry(true, false);
+ try comptime S.entry(true, false);
}
test "while error 2 break statements and an else" {
@@ -332,7 +332,7 @@ test "while error 2 break statements and an else" {
}
};
try S.entry(true, false);
- comptime try S.entry(true, false);
+ try comptime S.entry(true, false);
}
test "continue inline while loop" {