From e95fc2023f90e8c257dbe0ed247f5245b69f48a4 Mon Sep 17 00:00:00 2001 From: John Zhang <3619244+JohnCoconut@users.noreply.github.com> Date: Sat, 17 Jun 2023 03:06:52 +0800 Subject: [PATCH] Change outdated filename in langref --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index b6ea23aa81..cdb37d5c24 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1066,7 +1066,7 @@ fn addOne(number: i32) i32 { } {#code_end#}
- The introducing_zig_test.zig code sample tests the {#link|function|Functions#}
+ The testing_introduction.zig 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 code under test.
@@ -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 {