From f3df607ddec85b9280972001abb504b1912243ae Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Fri, 23 Jun 2023 15:11:10 +0100 Subject: [PATCH] Test-string: Remove dictionary substitution test The dictionary/table-based expansions provided by stringOps::expand are now too situation specific for this utility to concisely test with a single complex string. These expansions are fundamental to the operation of dictionary and dynamic code and receive good testing coverage in the tutorial test loop anyway. --- applications/test/string/Test-string.C | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/applications/test/string/Test-string.C b/applications/test/string/Test-string.C index b116291a8a..7d0185703c 100644 --- a/applications/test/string/Test-string.C +++ b/applications/test/string/Test-string.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -90,9 +90,6 @@ int main(int argc, char *argv[]) Info<< "expanded: " << string(test).expand() << endl; - Info<<"dictionary-based substitution: " << dict << endl; - Info<< "expand dict: " << stringOps::expand(test, dict) << endl; - string test2("~OpenFOAM/controlDict"); Info<< test2 << " => " << test2.expand() << endl;