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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user