void () { assertOrderedEquals(FileTypeChooser.suggestPatterns("a"), "a"); assertOrderedEquals(FileTypeChooser.suggestPatterns("a.b"), "*.b", "a.b"); assertOrderedEquals(FileTypeChooser.suggestPatterns("a.b.y"), "*.y", "*.b.y", "a.b.y"); assertOrderedEquals(FileTypeChooser.suggestPatterns("a.txt"), "a.txt", "*.txt"); }