updates plug with all sorts of awesome improvements
This commit is contained in:
@@ -43,4 +43,15 @@ import Testing
|
||||
#expect(PasteKind("just text") == .text)
|
||||
#expect(PasteKind(" \n ") == .text)
|
||||
}
|
||||
|
||||
@Test("nginx config and CSS split evenly on semicolons but hold braces, so they stay text")
|
||||
func bracesStayText() {
|
||||
let nginx = """
|
||||
location = /favicon.svg { try_files $uri /index.php?$query_string; access_log off; log_not_found off; }
|
||||
location = /favicon.ico { try_files $uri /index.php?$query_string; access_log off; log_not_found off; }
|
||||
location = /robots.txt { try_files $uri /index.php?$query_string; access_log off; log_not_found off; }
|
||||
"""
|
||||
#expect(PasteKind(nginx) == .text)
|
||||
#expect(PasteKind("a { color: red; margin: 0; }\nb { color: blue; margin: 1; }") == .text)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user