void () { assertMatches("a+b", "alpha+beta"); assertMatches("a+b", "alpha_gamma+beta"); assertMatches("a+b", "alpha + beta"); assertMatches("Foo+", "Foo+Bar.txt"); assertMatches("Foo+", "Foo + Bar.txt"); assertMatches("a", "alpha+beta"); assertMatches("*b", "alpha+beta"); assertMatches("a + b", "alpha+beta"); assertMatches("a+", "alpha+beta"); assertDoesntMatch("a ", "alpha+beta"); assertMatches("", "alpha+beta"); assertMatches("*+ b", "alpha+beta"); assertDoesntMatch("d+g", "alphaDelta+betaGamma"); assertMatches("*d+g", "alphaDelta+betaGamma"); assertMatches("a-b", "alpha-beta"); assertMatches("a-b", "alpha - beta"); }