From 08ccf9b540bfd0b1215759819d57c99e59ecbd04 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 27 Oct 2023 13:59:35 +0200 Subject: [PATCH] Update expected files --- test/files/end-of-file/expected_mapping.json | 1 + test/files/end-of-file/expected_representation.txt | 1 + test/files/end-of-file/mapping.json | 2 +- test/files/end-of-file/representation.txt | 2 +- test/files/reader-error/expected_mapping.json | 1 + test/files/reader-error/expected_representation.txt | 1 + test/files/reader-error/mapping.json | 2 +- test/files/reader-error/representation.txt | 2 +- test/files/sharpsign-dot/expected_mapping.json | 1 + test/files/sharpsign-dot/expected_representation.txt | 1 + test/files/sharpsign-dot/mapping.json | 2 +- test/files/sharpsign-dot/representation.txt | 2 +- test/files/two-fer/expected_mapping.json | 1 + test/files/two-fer/expected_representation.txt | 10 ++++++++++ test/files/two-fer/mapping.json | 2 +- test/files/two-fer/representation.txt | 8 ++++---- 16 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 test/files/end-of-file/expected_mapping.json create mode 100644 test/files/end-of-file/expected_representation.txt create mode 100644 test/files/reader-error/expected_mapping.json create mode 100644 test/files/reader-error/expected_representation.txt create mode 100644 test/files/sharpsign-dot/expected_mapping.json create mode 100644 test/files/sharpsign-dot/expected_representation.txt create mode 100644 test/files/two-fer/expected_mapping.json create mode 100644 test/files/two-fer/expected_representation.txt diff --git a/test/files/end-of-file/expected_mapping.json b/test/files/end-of-file/expected_mapping.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/files/end-of-file/expected_mapping.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/files/end-of-file/expected_representation.txt b/test/files/end-of-file/expected_representation.txt new file mode 100644 index 0000000..d969603 --- /dev/null +++ b/test/files/end-of-file/expected_representation.txt @@ -0,0 +1 @@ +"End of file due to missing delimiter in solution file." \ No newline at end of file diff --git a/test/files/end-of-file/mapping.json b/test/files/end-of-file/mapping.json index 0967ef4..9e26dfe 100644 --- a/test/files/end-of-file/mapping.json +++ b/test/files/end-of-file/mapping.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/test/files/end-of-file/representation.txt b/test/files/end-of-file/representation.txt index 31b43a9..d969603 100644 --- a/test/files/end-of-file/representation.txt +++ b/test/files/end-of-file/representation.txt @@ -1 +1 @@ -"End of file due to missing delimiter in solution file." +"End of file due to missing delimiter in solution file." \ No newline at end of file diff --git a/test/files/reader-error/expected_mapping.json b/test/files/reader-error/expected_mapping.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/files/reader-error/expected_mapping.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/files/reader-error/expected_representation.txt b/test/files/reader-error/expected_representation.txt new file mode 100644 index 0000000..4152cb1 --- /dev/null +++ b/test/files/reader-error/expected_representation.txt @@ -0,0 +1 @@ +"illegal sharp macro character: #\\<" \ No newline at end of file diff --git a/test/files/reader-error/mapping.json b/test/files/reader-error/mapping.json index 0967ef4..9e26dfe 100644 --- a/test/files/reader-error/mapping.json +++ b/test/files/reader-error/mapping.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/test/files/reader-error/representation.txt b/test/files/reader-error/representation.txt index 77a7843..4152cb1 100644 --- a/test/files/reader-error/representation.txt +++ b/test/files/reader-error/representation.txt @@ -1 +1 @@ -"illegal sharp macro character: #\\<" +"illegal sharp macro character: #\\<" \ No newline at end of file diff --git a/test/files/sharpsign-dot/expected_mapping.json b/test/files/sharpsign-dot/expected_mapping.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/files/sharpsign-dot/expected_mapping.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/files/sharpsign-dot/expected_representation.txt b/test/files/sharpsign-dot/expected_representation.txt new file mode 100644 index 0000000..d612fc0 --- /dev/null +++ b/test/files/sharpsign-dot/expected_representation.txt @@ -0,0 +1 @@ +"can't read #. while *READ-EVAL* is NIL" \ No newline at end of file diff --git a/test/files/sharpsign-dot/mapping.json b/test/files/sharpsign-dot/mapping.json index 0967ef4..9e26dfe 100644 --- a/test/files/sharpsign-dot/mapping.json +++ b/test/files/sharpsign-dot/mapping.json @@ -1 +1 @@ -{} +{} \ No newline at end of file diff --git a/test/files/sharpsign-dot/representation.txt b/test/files/sharpsign-dot/representation.txt index 00bd113..d612fc0 100644 --- a/test/files/sharpsign-dot/representation.txt +++ b/test/files/sharpsign-dot/representation.txt @@ -1 +1 @@ -"can't read #. while *READ-EVAL* is NIL" +"can't read #. while *READ-EVAL* is NIL" \ No newline at end of file diff --git a/test/files/two-fer/expected_mapping.json b/test/files/two-fer/expected_mapping.json new file mode 100644 index 0000000..e2e331c --- /dev/null +++ b/test/files/two-fer/expected_mapping.json @@ -0,0 +1 @@ +{":TWO-FER-0":":TWO-FER",":TWO-FER-1":":TWOFER",":TWO-FER-2":":CL",":TWO-FER-3":"TWOFER",":TWO-FER-4":"NAME"} \ No newline at end of file diff --git a/test/files/two-fer/expected_representation.txt b/test/files/two-fer/expected_representation.txt new file mode 100644 index 0000000..911bd57 --- /dev/null +++ b/test/files/two-fer/expected_representation.txt @@ -0,0 +1,10 @@ +((DEFPACKAGE :TWO-FER-0 + (:EXPORT :TWO-FER-1) + (:USE :TWO-FER-2)) + (IN-PACKAGE :TWO-FER-0) + (DEFUN :TWO-FER-3 + ((:REQUIRED NIL) (:OPTIONAL ((:TWO-FER-4 NIL NIL))) (:REST NIL) + (:KEYWORD NIL) (:AUX NIL) (:ALLOW-OTHER-KEYS NIL)) + (:DOCSTRING NIL) + (:DECLARE NIL) + ((FORMAT NIL "One for ~a, one for me." (OR :TWO-FER-4 "you"))))) \ No newline at end of file diff --git a/test/files/two-fer/mapping.json b/test/files/two-fer/mapping.json index 1866a6b..e2e331c 100644 --- a/test/files/two-fer/mapping.json +++ b/test/files/two-fer/mapping.json @@ -1 +1 @@ -{":TWO-FER-0":":TWO-FER",":TWO-FER-1":":TWOFER",":TWO-FER-2":":CL",":TWO-FER-3":"TWOFER",":TWO-FER-4":"NAME"} +{":TWO-FER-0":":TWO-FER",":TWO-FER-1":":TWOFER",":TWO-FER-2":":CL",":TWO-FER-3":"TWOFER",":TWO-FER-4":"NAME"} \ No newline at end of file diff --git a/test/files/two-fer/representation.txt b/test/files/two-fer/representation.txt index 233eb4a..911bd57 100644 --- a/test/files/two-fer/representation.txt +++ b/test/files/two-fer/representation.txt @@ -2,9 +2,9 @@ (:EXPORT :TWO-FER-1) (:USE :TWO-FER-2)) (IN-PACKAGE :TWO-FER-0) - (DEFUN :TWO-FER-3 ((:REQUIRED NIL) (:OPTIONAL ((:TWO-FER-4 NIL NIL))) - (:REST NIL) (:KEYWORD NIL) (:AUX NIL) - (:ALLOW-OTHER-KEYS NIL)) + (DEFUN :TWO-FER-3 + ((:REQUIRED NIL) (:OPTIONAL ((:TWO-FER-4 NIL NIL))) (:REST NIL) + (:KEYWORD NIL) (:AUX NIL) (:ALLOW-OTHER-KEYS NIL)) (:DOCSTRING NIL) (:DECLARE NIL) - ((FORMAT NIL "One for ~a, one for me." (OR :TWO-FER-4 "you"))))) + ((FORMAT NIL "One for ~a, one for me." (OR :TWO-FER-4 "you"))))) \ No newline at end of file