Commit graph

52 commits

Author SHA1 Message Date
Eric S. Raymond
13f7304081 Remove 'version' test. Framework plays badly with variable output.
We'll have to come up with generic solution to this.
2017-07-10 12:18:35 -04:00
NHOrus
0ea7dcf1a0 Version bump in tests 2017-07-10 15:11:19 +03:00
NHOrus
53b68161ff Two more lines of coverage; more cleanup for macros 2017-07-09 20:25:28 +03:00
NHOrus
551838cea2 Deal around newline-only lines pruned to zero-lenght
Test for that, too
2017-07-07 11:21:37 +03:00
Eric S. Raymond
88477f1175 Repair tests to track previous change. 2017-07-05 19:26:32 -04:00
NHOrus
878800edc6 Triggering more phrases 2017-07-05 18:59:05 +03:00
Aaron Traas
f3dae6ff83 Coverage -- more odd actions 2017-07-04 17:41:42 -04:00
NHOrus
dc34ac3d06 workaround for eat grate bug in retrospective tests 2017-07-04 15:18:49 +03:00
Eric S. Raymond
393010ec41 Entirely eliminate wd1x and wd2x members of the command block.
In the process, fix another case-smashing bug.
2017-07-03 16:49:33 -04:00
NHOrus
f52a78a1f8 Captured output of help and info commands
Can't believe it wasn't done before
2017-07-03 22:15:19 +03:00
Eric S. Raymond
a768555312 Use the raw buffer in tr command structure for editing.
This fixes some minor bugs. Unknown words are no longer truncated
nor uppercased on echo.
2017-07-03 12:52:28 -04:00
Aaron Traas
22a557efb1 Coverage -- version command 2017-07-02 02:22:52 -04:00
NHOrus
a48e0ff30e Tests for misc and main 2017-06-30 18:30:19 +03:00
NHOrus
a6d1f9228b Fixed previous test, added nibble more 2017-06-30 18:05:41 +03:00
NHOrus
a0f5fa0e04 Last one test case 2017-06-30 12:27:11 +03:00
NHOrus
c1efa29510 Some more easy tests 2017-06-30 11:31:18 +03:00
Eric S. Raymond
4aa85d0068 Update illformed.chk for current YAML. 2017-06-29 18:27:14 -04:00
Aaron Traas
d0a868bd4a Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -04:00
Eric S. Raymond
21d959a5c2 Documentation polishing and minor test improvements. 2017-06-29 16:25:55 -04:00
Eric S. Raymond
fd6da15373 Fix GitLab issue #13 - The "eat" command exhibits strange behavior
The problem wasn't actually with "eat" but with "grate".  Processing
of any two-word command with an object of "grate", when given at certain
locations including the start, inappropriately jumped directly
to the movement code (ignoring the verb).

There was a similar bug in the ancestral 2.5, though it manifested slightly
differently.
2017-06-21 16:54:10 -04:00
Eric S. Raymond
6dbe6f081c Revert "Test coverage - Almost all of score.c". It's breaking tests. 2017-06-21 16:43:27 -04:00
Aaron Traas
236abc8cab Test coverage - Almost all of score.c 2017-06-21 15:04:41 -04:00
Aaron Traas
89de4e4602 Test coverage -- more corner cases in actions.c 2017-06-20 18:43:19 -04:00
Aaron Traas
53fd6348b9 Test coverage - more corner cases in actions.c 2017-06-20 13:39:42 -04:00
Aaron Traas
9c88649cd4 Test coverage More misuse of transitive verbs 2017-06-19 17:33:32 -04:00
Eric S. Raymond
957c78d0c2 Improve test coverage. 2017-06-18 11:36:03 -04:00
Eric S. Raymond
23cc7b45be Improve test coverage. 2017-06-18 11:14:44 -04:00
Eric S. Raymond
937714f31d Magic-number limination. Improve test coverage. 2017-06-18 09:44:34 -04:00
Eric S. Raymond
d363a5c564 Trying again to repair tests. 2017-06-18 09:13:35 -04:00
Eric S. Raymond
6333544efb Simplify code, improve test coverage. 2017-06-18 08:57:08 -04:00
Eric S. Raymond
9e1143e780 Improve test coverage. 2017-06-18 07:41:40 -04:00
Eric S. Raymond
c8dbb241e8 Rxtend test coverage, remove magic numbers. 2017-06-18 07:11:20 -04:00
Eric S. Raymond
ff7db8b0c8 Improve test coverage, simplify code. 2017-06-18 06:41:16 -04:00
Eric S. Raymond
d92da99106 Improve test coverage. 2017-06-17 20:43:23 -04:00
NHOrus
32fdd08d9b Little cleanup of variable names 2017-06-17 17:48:12 +03:00
Eric S. Raymond
851f90cdf7 Improve test coverage. 2017-06-16 15:40:46 -04:00
Eric S. Raymond
0d373a6b87 Improve test coverage. 2017-06-16 15:27:25 -04:00
Eric S. Raymond
d0f943f4fb Extend test coverage to novice mode. 2017-06-14 06:41:04 -04:00
Eric S. Raymond
b24670f4bc Increase test coverage. 2017-06-14 06:34:43 -04:00
Eric S. Raymond
5d8275c147 Increase test coverage. 2017-06-14 06:02:42 -04:00
Eric S. Raymond
e07cedf332 Documentation improvements. 2017-06-13 13:13:30 -04:00
Eric S. Raymond
cbf027c28b Further increase test coverage. 2017-06-13 09:26:54 -04:00
Jason S. Ninneman
4ae8585802 Massive whitespace update to the test output.
(With one minor exception: the 'pillow' problem.)
2017-06-11 15:43:38 -07:00
Eric S. Raymond
1a4bf3abcd Improved test coverage. 2017-06-11 16:18:03 -04:00
Eric S. Raymond
0105b04ac2 More test coverage improvements. 2017-06-06 06:59:39 -04:00
Eric S. Raymond
54eb0ac2cb Another test coverage extension. 2017-06-06 06:00:08 -04:00
Eric S. Raymond
456aa3d7b6 Should have been committee along with last change to illformed.log. 2017-06-06 05:44:35 -04:00
Eric S. Raymond
7130265578 In tests, exercise the "go back" code. 2017-06-06 00:54:56 -04:00
Eric S. Raymond
fa63a56f18 Test coverage improvement. 2017-06-04 07:30:21 -04:00
Eric S. Raymond
3e82eeda27 Documentation polishing. 2017-06-03 13:04:46 -04:00