rename test to avoid shadowing module name

The test name matching the module name caused an error on Rust 1.13 (but
not on 1.16 and later). It can be avoided easily by renaming the test,
which also avoids ambiguity.
This commit is contained in:
Ruud van Asseldonk 2017-04-17 16:25:12 +02:00
parent 85e6cf4b3a
commit 701808e23a

View File

@ -417,7 +417,7 @@ fn generics_issue_104_test1() {
}
#[test]
fn match_section() {
fn test_match_section() {
assert!(match_section::parse_Query("SELECT foo").is_ok());
assert!(match_section::parse_Query("select foo").is_ok());
assert!(match_section::parse_Query("INSERT foo").is_ok());