Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConfigInterpolation (0.1 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            String s3 = props2.getProperty("dblbackslash");
            assertEquals("\\", s3, "13");
            assertEquals(props1, props2);
        }
    
        @Test
        public void testConfigInterpolation() throws IOException {
            String config = "a=$\\\\\\\\{var}\n" + "ab=${a}b\n" + "abc=${ab}c";
            Map<String, String> expected = Map.of("a", "$\\{var}", "ab", "$\\{var}b", "abc", "$\\{var}bc");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top