zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e95fc2023f90e8c257dbe0ed247f5245b69f48a4 (tree)
parent a10ddba9218abf452ccc2a244222b4d69b606865
Author: John Zhang <3619244+JohnCoconut@users.noreply.github.com>
Date:   Sat, 17 Jun 2023 03:06:52 +0800

Change outdated filename in langref

Diffstat:
Mdoc/langref.html.in | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -1066,7 +1066,7 @@ fn addOne(number: i32) i32 { } {#code_end#} <p> - The <code class="file">introducing_zig_test.zig</code> code sample tests the {#link|function|Functions#} + The <code class="file">testing_introduction.zig</code> code sample tests the {#link|function|Functions#} {#syntax#}addOne{#endsyntax#} to ensure that it returns {#syntax#}42{#endsyntax#} given the input {#syntax#}41{#endsyntax#}. From this test's perspective, the {#syntax#}addOne{#endsyntax#} function is said to be <em>code under test</em>. @@ -1138,7 +1138,7 @@ const std = @import("std"); const expect = std.testing.expect; // Imported source file tests will run when referenced from a top-level test declaration. -// The next line alone does not cause "introducing_zig_test.zig" tests to run. +// The next line alone does not cause "testing_introduction.zig" tests to run. const imported_file = @import("testing_introduction.zig"); test {