aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/tuple.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/tuple.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/tuple.zig')
-rw-r--r--test/behavior/tuple.zig14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/behavior/tuple.zig b/test/behavior/tuple.zig
index b6fde88af2..190ac3c7df 100644
--- a/test/behavior/tuple.zig
+++ b/test/behavior/tuple.zig
@@ -23,7 +23,7 @@ test "tuple concatenation" {
}
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "tuple multiplication" {
@@ -46,7 +46,7 @@ test "tuple multiplication" {
}
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "more tuple concatenation" {
@@ -91,7 +91,7 @@ test "more tuple concatenation" {
};
try T.doTheTest();
- comptime try T.doTheTest();
+ try comptime T.doTheTest();
}
test "pass tuple to comptime var parameter" {
@@ -105,7 +105,7 @@ test "pass tuple to comptime var parameter" {
}
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "tuple initializer for var" {
@@ -163,7 +163,7 @@ test "array-like initializer for tuple types" {
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "anon struct as the result from a labeled block" {
@@ -180,7 +180,7 @@ test "anon struct as the result from a labeled block" {
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "tuple as the result from a labeled block" {
@@ -195,7 +195,7 @@ test "tuple as the result from a labeled block" {
};
try S.doTheTest();
- comptime try S.doTheTest();
+ try comptime S.doTheTest();
}
test "initializing tuple with explicit type" {