Skip to content

Commit 71d59fd

Browse files
committed
langref: Explain Zig Test remove a line
Removed a line in Nested Container Tests
1 parent eeea9a6 commit 71d59fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/langref.html.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,10 +1043,10 @@ fn addOne(number: i32) i32 {
10431043
{#header_close#}
10441044
{#header_open|Nested Container Tests#}
10451045
<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.
10501050
</p>
10511051
<p>
10521052
The code sample below uses the {#syntax#}std.testing.refAllDecls(@This()){#endsyntax#} function call to

0 commit comments

Comments
 (0)