From 98bf92f8e3baeacf18b33b5d1bef4c7ca3945e7f Mon Sep 17 00:00:00 2001 From: Patrick R Date: Mon, 22 Feb 2021 17:27:39 +0100 Subject: [PATCH] Very minor change to two tests Adds whitespace to the end of tests, as they are reused in another project which requires this as a current workaround. --- .squot | 10 +++++----- ...testGrammarParsesConstantReferencesInExpressions.st | 7 +++++-- .../methodProperties.json | 2 +- ...testGrammarParsesConstantReferencesInExpressions.st | 4 ++-- .../methodProperties.json | 2 +- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.squot b/.squot index 155e19b..769d5d9 100644 --- a/.squot +++ b/.squot @@ -1,7 +1,7 @@ OrderedDictionary { - 'packages\/Ohm-Grammars.package' : #SquotCypressCodeSerializer, - 'packages\/Ohm-Support.package' : #SquotCypressCodeSerializer, - 'packages\/Ohm-Semantics.package' : #SquotCypressCodeSerializer, - 'packages\/Ohm-Core.package' : #SquotCypressCodeSerializer, - 'packages\/BaselineOfOhm.package' : #SquotCypressCodeSerializer + 'packages/Ohm-Grammars.package' : #SquotCypressCodeSerializer, + 'packages/Ohm-Support.package' : #SquotCypressCodeSerializer, + 'packages/Ohm-Semantics.package' : #SquotCypressCodeSerializer, + 'packages/Ohm-Core.package' : #SquotCypressCodeSerializer, + 'packages/BaselineOfOhm.package' : #SquotCypressCodeSerializer } \ No newline at end of file diff --git a/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st b/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st index d21dced..3b1a677 100644 --- a/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st +++ b/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st @@ -1,6 +1,6 @@ tests testGrammarParsesConstantReferencesInExpressions - + startRule := #Expression. self shouldParse: 'nil+3' to: #(Expression (KeywordMessageSend @@ -8,4 +8,7 @@ testGrammarParsesConstantReferencesInExpressions (BinaryMessageSend (BinaryMessageReceiver (UnaryMessageSend (UnaryMessageSend_base (Operand (Literal 'nil'))))) (BinaryMessage '+3'))) - (_list))) \ No newline at end of file + (_list))) + + + \ No newline at end of file diff --git a/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/methodProperties.json b/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/methodProperties.json index 9db5473..de58c18 100644 --- a/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/methodProperties.json +++ b/packages/Ohm-Grammars.package/OhmExplicitSendsSmalltalkGrammarTest.class/methodProperties.json @@ -6,6 +6,6 @@ "testGrammarDistinguishesOperandAndUnaryCascades" : "pre 7/6/2020 12:19", "testGrammarParsesBinaryMessageChains" : "pre 7/6/2020 12:28", "testGrammarParsesCascadedMessages" : "pre 7/7/2020 15:55", - "testGrammarParsesConstantReferencesInExpressions" : "pre 7/6/2020 15:23", + "testGrammarParsesConstantReferencesInExpressions" : "pre 2/22/2021 17:23", "testGrammarParsesUnaryMessageChains" : "pre 7/6/2020 12:28", "testGrammarParsesUnaryMessageSendsWithProblematicOperand" : "pre 6/10/2020 18:14" } } diff --git a/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st b/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st index 8c55875..64dfca1 100644 --- a/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st +++ b/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/instance/testGrammarParsesConstantReferencesInExpressions.st @@ -1,9 +1,9 @@ tests testGrammarParsesConstantReferencesInExpressions - + startRule := #Expression. self shouldParse: 'nil+3' to: #( Expression (Operand (Literal 'nil')) (MessageChain '+3') - (_list)) \ No newline at end of file + (_list)) diff --git a/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/methodProperties.json b/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/methodProperties.json index 3522723..a86addd 100644 --- a/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/methodProperties.json +++ b/packages/Ohm-Grammars.package/OhmSmalltalkGrammarTest.class/methodProperties.json @@ -20,7 +20,7 @@ "testGrammarParsesComplicatedNumbers" : "pre 10/7/2015 15:49", "testGrammarParsesConstantReferenceAsLiteral" : "pre 7/6/2020 15:13", "testGrammarParsesConstantReferences" : "pre 7/6/2020 15:13", - "testGrammarParsesConstantReferencesInExpressions" : "pre 7/6/2020 15:15", + "testGrammarParsesConstantReferencesInExpressions" : "pre 2/22/2021 17:23", "testGrammarParsesConstantReferencesNotVariables" : "pre 7/6/2020 14:53", "testGrammarParsesExecutableCode" : "pre 7/27/2015 17:02", "testGrammarParsesExpression" : "pre 7/27/2015 16:48",