From f7713ed53e41b1f4b4434b81be5213cb21b9d538 Mon Sep 17 00:00:00 2001 From: Ryan Potts Date: Thu, 10 Jan 2019 23:41:49 -0500 Subject: [PATCH] Acronym: update to v1.7.0 per exercism/problem-specifications#1436 --- exercises/acronym/uAcronymTests.pas | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/exercises/acronym/uAcronymTests.pas b/exercises/acronym/uAcronymTests.pas index 188e9e9a..23f74d60 100644 --- a/exercises/acronym/uAcronymTests.pas +++ b/exercises/acronym/uAcronymTests.pas @@ -5,7 +5,7 @@ interface DUnitX.TestFramework; const - CanonicalVersion = '1.6.0'; + CanonicalVersion = '1.7.0'; type @@ -43,6 +43,10 @@ AcronymTests = class(TObject) [Test] [Ignore] procedure apostrophes; + + [Test] + [Ignore] + procedure underscore_emphasis; end; implementation @@ -91,6 +95,11 @@ procedure AcronymTests.very_long_abbreviation; 'Laughing So Hard That My Dogs Came Over And Licked Me')); end; +procedure AcronymTests.underscore_emphasis; +begin + Assert.AreEqual('TRNT', abbreviate('The Road _Not_ Taken')); +end; + initialization TDUnitX.RegisterTestFixture(AcronymTests); end.