Get logging flags working properly with test script
This commit is contained in:
parent
b1fa49448d
commit
5c3c1dd0bd
19 changed files with 140 additions and 225 deletions
|
|
@ -324,10 +324,6 @@ fn test_custom_utf16_input() {
|
|||
let mut parser = Parser::new();
|
||||
parser.set_language(rust()).unwrap();
|
||||
|
||||
parser.set_logger(Some(Box::new(|t, message| {
|
||||
println!("log: {:?} {}", t, message);
|
||||
})));
|
||||
|
||||
let lines: Vec<Vec<u16>> = ["pub fn foo() {", " 1", "}"]
|
||||
.iter()
|
||||
.map(|s| s.encode_utf16().collect())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue