Skip to content

Commit 05376fd

Browse files
committed
srfi-64.html: Fix typos.
1 parent 8fdbd76 commit 05376fd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

srfi-64.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h2>Abstract</h2>
3737
This defines an API for writing <dfn>test suites</dfn>, to make it easy
3838
to portably test Scheme APIs, libraries, applications, and implementations.
3939
A test suite is a collection of <dfn>test cases</dfn> that execute
40-
in the context of a <dfn>test-runner</dfn>. This specifications
40+
in the context of a <dfn>test-runner</dfn>. This specification
4141
also supports writing new test-runners, to allow customization
4242
of reporting and processing the result of running test suites.</p>
4343

@@ -273,7 +273,7 @@ <h4>Test groups and paths</h4>
273273
<p>A <code>test-begin</code> enters a new test group.
274274
The <var>suite-name</var> becomes the current test group name,
275275
and is added to the end of the test group path.
276-
Portable test suites should use a sting literal for <var>suite-name</var>;
276+
Portable test suites should use a string literal for <var>suite-name</var>;
277277
the effect of expressions or other kinds of literals is unspecified.</p>
278278
<p>
279279
<b>Rationale:</b> In some ways using symbols would be preferable.
@@ -370,7 +370,7 @@ <h3>Test suites</h3>
370370
<h3>Conditonal test-suites and other advanced features</h3>
371371
<p>
372372
The following describes features for controlling which tests to execute,
373-
or specifing that some tests are <em>expected</em> to fail.</p>
373+
or specifying that some tests are <em>expected</em> to fail.</p>
374374

375375
<h4>Test specifiers</h4>
376376
<p>Sometimes we want to only run certain tests, or we know that
@@ -390,7 +390,7 @@ <h4>Test specifiers</h4>
390390
<p>
391391
<code>(<b>test-match-name</b> <var>name</var>)</code><br />
392392
The resulting specifier matches if the current test name (as
393-
returned by <code>test-runner-test-name</code>) is <code>equals?</code> to
393+
returned by <code>test-runner-test-name</code>) is <code>equal?</code> to
394394
<var>name</var>.</p>
395395
<p>
396396
<code>(<b>test-match-nth</b> <var>n</var> [<var>count</var>])</code><br />
@@ -478,7 +478,7 @@ <h3>Test-runner</h3>
478478
A <dfn>test-runner</dfn> is an object that runs a test-suite,
479479
and manages the state. The test group path, and the sets skip and
480480
expected-fail specifiers are part of the test-runner.
481-
A test-runner will also typically accumulate statistics about executed tests,
481+
A test-runner will also typically accumulate statistics about executed tests.
482482
</p>
483483
<p>
484484
<code>(<b>test-runner?</b> <var>value</var>)</code><br />
@@ -495,7 +495,7 @@ <h3>Test-runner</h3>
495495
that uses a fluid or thread-local variable, or a plain global variable.</p>
496496
<p>
497497
<code>(<b>test-runner-get</b>)</code><br />
498-
Same as <code>(test-runner-current)</code>, buth throws an exception
498+
Same as <code>(test-runner-current)</code>, but throws an exception
499499
if there is no current test-runner.</p>
500500
<p>
501501
<code>(<b>test-runner-simple</b>)</code><br />
@@ -536,7 +536,7 @@ <h4>Running specific tests with a specified runner</h4>
536536
<code>test-apply</code> <em>and</em> does not match any
537537
active <code>test-skip</code> specifiers.</p>
538538
<p>
539-
<code>(<b>test-with-runner </b><var>runner</var> <var>decl-or-expr</var> ...)</code><br />
539+
<code>(<b>test-with-runner</b><var>runner</var> <var>decl-or-expr</var> ...)</code><br />
540540
Executes each <var>decl-or-expr</var> in order in a context
541541
where the current test-runner is <var>runner</var>.</p>
542542

@@ -557,11 +557,11 @@ <h4>Result kind</h4>
557557
</dl>
558558
<p>
559559
<code>(<b>test-result-kind</b> [<var>runner</var>])</code><br />
560-
Return one of the above result codes from the most recent tests.
560+
Returns one of the above result codes from the most recent tests.
561561
Returns <code>#f</code> if no tests have been run yet.
562562
If we've started on a new test, but don't have a result yet,
563-
then the result kind is <code>'xfail</code> is the test is expected to fail,
564-
<code>'skip</code> is the test is supposed to be skipped,
563+
then the result kind is <code>'xfail</code> if the test is expected to fail,
564+
<code>'skip</code> if the test is supposed to be skipped,
565565
or <code>#f</code> otherwise.</p>
566566
<p>
567567
<code>(<b>test-passed?</b> [<var>runner</var>])</code><br />
@@ -622,7 +622,7 @@ <h4>Standard result properties</h4>
622622
<dt><code>'source-file</code></dt>
623623
<dt><code>'source-line</code></dt>
624624
<dd>If known, the location of test statements (such as <code>test-assert</code>)
625-
in test suite source code..</dd>
625+
in test suite source code.</dd>
626626
<dt><code>'source-form</code></dt>
627627
<dd>The source form, if meaningful and known.</dd>
628628
<dt><code>'expected-value</code></dt>

0 commit comments

Comments
 (0)