From b6423016e213e1db4781ba90b2a648dfb7523a6c Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Mon, 17 Jul 2023 18:58:29 +0200 Subject: [PATCH] Fix test for export catalog to be independent of Pharo version --- .../WAGetTextExporter.class/instance/createHeaders.st | 2 +- .../instance/fileContentsOfPOTFile.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Seaside-Pharo-Gettext-Core.package/WAGetTextExporter.class/instance/createHeaders.st b/repository/Seaside-Pharo-Gettext-Core.package/WAGetTextExporter.class/instance/createHeaders.st index 508567316..8aed827fe 100644 --- a/repository/Seaside-Pharo-Gettext-Core.package/WAGetTextExporter.class/instance/createHeaders.st +++ b/repository/Seaside-Pharo-Gettext-Core.package/WAGetTextExporter.class/instance/createHeaders.st @@ -10,5 +10,5 @@ createHeaders headers add: 'MIME-Version' -> '1.0'. headers add: 'Content-Type' -> ('text/plain; charset=utf-8'). headers add: 'Content-Transfer-Encoding' -> '8bit'. - headers add: 'X-Pharo-SystemVersion' -> (SystemVersion current asString). + headers add: 'X-Pharo-SystemVersion' -> SystemVersion current asString. ^ headers \ No newline at end of file diff --git a/repository/Seaside-Tests-Pharo-Gettext.package/WAGetTextExporterTest.class/instance/fileContentsOfPOTFile.st b/repository/Seaside-Tests-Pharo-Gettext.package/WAGetTextExporterTest.class/instance/fileContentsOfPOTFile.st index 0b2d431da..850cc3ef8 100644 --- a/repository/Seaside-Tests-Pharo-Gettext.package/WAGetTextExporterTest.class/instance/fileContentsOfPOTFile.st +++ b/repository/Seaside-Tests-Pharo-Gettext.package/WAGetTextExporterTest.class/instance/fileContentsOfPOTFile.st @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Pharo-SystemVersion: Pharo-11.0.0+build.694.sha.f07af32c1392d9105aae83eb63ac21de3f4c0bdc (64 Bit)\n" +"X-Pharo-SystemVersion: ',SystemVersion current asString,'\n" #: WAGettextExample>>renderContentOn: