File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1043,10 +1043,10 @@ fn addOne(number: i32) i32 {
1043
1043
{#header_close#}
1044
1044
{#header_open|Nested Container Tests#}
1045
1045
<p>
1046
- Top-level test declarations are lazily analyzed. When the <kbd>zig test</kbd> tool is building a
1047
- test runner, only resolved {#syntax#}test{#endsyntax#} declarations are included in the build.
1048
- Initially, only the given Zig source file's top-level declarations are resolved. Unless nested containers
1049
- are referenced from a top-level test declaration, nested container tests will not be resolved.
1046
+ When the <kbd>zig test</kbd> tool is building a test runner, only resolved {#syntax#}test{#endsyntax#}
1047
+ declarations are included in the build. Initially, only the given Zig source file's top-level
1048
+ declarations are resolved. Unless nested containers are referenced from a top-level test declaration,
1049
+ nested container tests will not be resolved.
1050
1050
</p>
1051
1051
<p>
1052
1052
The code sample below uses the {#syntax#}std.testing.refAllDecls(@This()){#endsyntax#} function call to
You can’t perform that action at this time.
0 commit comments