mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-27 01:41:05 +00:00
Ignore test cases containing explicit paths to modules
This commit is contained in:
parent
7a2b6ed715
commit
ec5f8a62e0
@ -57,7 +57,8 @@ fn test_round_trip() {
|
||||
Ok(before) => before,
|
||||
Err(mut diagnostic) => {
|
||||
diagnostic.cancel();
|
||||
if diagnostic.message.starts_with("file not found for module") {
|
||||
if diagnostic.message.starts_with("file not found for module")
|
||||
|| diagnostic.message.starts_with("couldn't read") {
|
||||
errorf!("ignore\n");
|
||||
continue;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user