From 839ac15b14c076643b8c45b3ff97f3885d6eefaa Mon Sep 17 00:00:00 2001 From: Graham Nelson Date: Sun, 24 Apr 2022 12:19:01 +0100 Subject: [PATCH] Fixed delinquent test cases to catch up with output change --- README.md | 8 ++++---- Tests/Test Cases/_Scan_Ideal/conditional.txt | 1 - Tests/Test Cases/_Scan_Ideal/empty.txt | 1 - Tests/Test Cases/_Scan_Ideal/hellow.txt | 1 - Tests/Test Cases/_Scan_Ideal/perl.txt | 1 - Tests/Test Cases/_Scan_Ideal/plain.txt | 1 - Tests/Test Cases/_Scan_Ideal/twinprimes.txt | 1 - scripts/inweb.rmscript | 2 +- 8 files changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5a12366..853b708 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ where it manages a 300,000-line code base. Literate programming is a methodology created by Donald Knuth in the late 1970s. A literate program, or "web", is written as a narrative intended to be readable by humans as well as by other programs. Inweb is itself written as -a web, and its human-readable form is a [companion website to this one](blob/master/docs/index.html). +a web, and its human-readable form is a [companion website to this one](docs/index.html). -For the Inweb manual, see [★ inweb/Preliminaries](blob/master/docs/inweb/M-iti). +For the Inweb manual, see [★ inweb/Preliminaries](docs/inweb/M-iti). __Disclaimer__. Because this is a private repository (until the next public release of Inform, when it will open), its GitHub pages server cannot be @@ -118,10 +118,10 @@ programs, such as the [Intest testing tool](https://github.com/ganelson/intest) and the [Inform compiler and related tools](https://github.com/ganelson/inform). This library is called "Foundation", and has its own web -here: [★ foundation-module](blob/master/docs/foundation-module/index.html). +here: [★ foundation-module](docs/foundation-module/index.html). A small executable for running unit tests against Foundation is also included: -[★ foundation-test](blob/master/docs/foundation-test/index.html). +[★ foundation-test](docs/foundation-test/index.html). ## Testing Inweb diff --git a/Tests/Test Cases/_Scan_Ideal/conditional.txt b/Tests/Test Cases/_Scan_Ideal/conditional.txt index 7a8b342..5defd8c 100644 --- a/Tests/Test Cases/_Scan_Ideal/conditional.txt +++ b/Tests/Test Cases/_Scan_Ideal/conditional.txt @@ -1,4 +1,3 @@ -web "hellow": 1 section : 3 paragraphs : 38 lines Scan of source lines for '0' 0000001 SECTION_HEADING..... Main. 0000002 COMMENT_BODY........ diff --git a/Tests/Test Cases/_Scan_Ideal/empty.txt b/Tests/Test Cases/_Scan_Ideal/empty.txt index 2216a7a..fd5b941 100644 --- a/Tests/Test Cases/_Scan_Ideal/empty.txt +++ b/Tests/Test Cases/_Scan_Ideal/empty.txt @@ -1,4 +1,3 @@ -web "test": 1 section : 1 paragraph : 12 lines Scan of source lines for '0' 0000001 SECTION_HEADING..... Main. 0000002 COMMENT_BODY........ diff --git a/Tests/Test Cases/_Scan_Ideal/hellow.txt b/Tests/Test Cases/_Scan_Ideal/hellow.txt index 0ad702c..031cbfe 100644 --- a/Tests/Test Cases/_Scan_Ideal/hellow.txt +++ b/Tests/Test Cases/_Scan_Ideal/hellow.txt @@ -1,4 +1,3 @@ -web "hellow": 1 section : 1 paragraph : 12 lines Scan of source lines for '0' 0000001 SECTION_HEADING..... Main. 0000002 COMMENT_BODY........ diff --git a/Tests/Test Cases/_Scan_Ideal/perl.txt b/Tests/Test Cases/_Scan_Ideal/perl.txt index c201c21..1248935 100644 --- a/Tests/Test Cases/_Scan_Ideal/perl.txt +++ b/Tests/Test Cases/_Scan_Ideal/perl.txt @@ -1,4 +1,3 @@ -web "perl": 1 section : 3 paragraphs : 21 lines Scan of source lines for '0' 0000001 SECTION_HEADING..... Main. 0000002 COMMENT_BODY........ diff --git a/Tests/Test Cases/_Scan_Ideal/plain.txt b/Tests/Test Cases/_Scan_Ideal/plain.txt index 7a11ea7..e52bc03 100644 --- a/Tests/Test Cases/_Scan_Ideal/plain.txt +++ b/Tests/Test Cases/_Scan_Ideal/plain.txt @@ -1,4 +1,3 @@ -web "plain": 1 section : 3 paragraphs : 25 lines Scan of source lines for '0' 0000001 SECTION_HEADING..... Main. 0000002 COMMENT_BODY........ diff --git a/Tests/Test Cases/_Scan_Ideal/twinprimes.txt b/Tests/Test Cases/_Scan_Ideal/twinprimes.txt index 1ef49fa..d2d0cfe 100644 --- a/Tests/Test Cases/_Scan_Ideal/twinprimes.txt +++ b/Tests/Test Cases/_Scan_Ideal/twinprimes.txt @@ -1,4 +1,3 @@ -web "The Twin Primes Conjecture": 1 section : 3 paragraphs : 55 lines Scan of source lines for '0' 0000001 SECTION_HEADING..... Main. 0000002 COMMENT_BODY........ diff --git a/scripts/inweb.rmscript b/scripts/inweb.rmscript index 27ac3cf..2d9e50b 100644 --- a/scripts/inweb.rmscript +++ b/scripts/inweb.rmscript @@ -11,7 +11,7 @@ programs than CWEB, and since 2004 has been the tool used by the [Inform programming language project](https://github.com/ganelson/inform), where it manages a 300,000-line code base. -{set name: GITHUBPAGESLINK value: blob/master/docs} +{set name: GITHUBPAGESLINK value: docs} {set name: WEBICON value: ★} {set name: DOCICON value: ▶}