authorgravatar for 3619244+JohnCoconut@users.noreply.github.comJohn Zhang <3619244+JohnCoconut@users.noreply.github.com> 2023-06-17 03:06:52+08:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-06-16 23:12:45-07:00
loge95fc2023f90e8c257dbe0ed247f5245b69f48a4
tree51bf58449499d4af41677166afea87ef8071328a
parenta10ddba9218abf452ccc2a244222b4d69b606865

Change outdated filename in langref


1 files changed, 2 insertions(+), 2 deletions(-)

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