aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authorMr. Paul <mrpaul@aestheticwisdom.com>2021-09-29 11:31:41 +0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-04 15:35:01 -0400
commit65e4926c5b6ca936b460afd1d1e43474b2bc320d (patch)
tree176e9cb783ca0ffa5343419a8cc3087deae07d49 /src/codegen/c.zig
parentd4ebfa87633aa632a290dfffa38712468e5512db (diff)
downloadzig-65e4926c5b6ca936b460afd1d1e43474b2bc320d.tar.gz
zig-65e4926c5b6ca936b460afd1d1e43474b2bc320d.zip
langref: Explain Zig Test
Updates the Language Reference sections: Comments, Values, and Zig Test. Zig Test section moved down with the goal "make sure it can be read top to bottom sensibly" in mind (issue #1524). Comments and Values section examples changed test declarations to a main function and expect statement to print statements. A print statement was added to the "String Literals and Unicode Code Point" section's example to demonstrate the "u" format specifier. Zig Test Section: * Addresses the question: "How does the syntax work?". * Partially answers the question: "What can I do with the zig test tool?" but should be sufficient to understand the examples in all of this document. * Addresses the question: "How does a top-level test block differ from a function definition?" * Provides a example to run multiple test. Lacks clear definitions of containers, top-level, order independence, lazy analysis, resolve, reference. GitHub Issues: #8221, #8234
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions