aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bool.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/bool.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/bool.zig')
-rw-r--r--test/behavior/bool.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/bool.zig b/test/behavior/bool.zig
index 8cfd87bf21..a2636ecf42 100644
--- a/test/behavior/bool.zig
+++ b/test/behavior/bool.zig
@@ -49,7 +49,7 @@ test "compile time bool not" {
test "short circuit" {
try testShortCircuit(false, true);
- comptime try testShortCircuit(false, true);
+ try comptime testShortCircuit(false, true);
}
fn testShortCircuit(f: bool, t: bool) !void {