Temporarily disable info-based analyzer unit tests. (#120753)
We should address this more permanently: https://github.com/flutter/flutter/issues/120750
This commit is contained in:
parent
fd01812f67
commit
4b8ad1b007
@ -305,7 +305,7 @@ int analyze() {}
|
|||||||
exitMessageContains: '1 issue found.',
|
exitMessageContains: '1 issue found.',
|
||||||
exitCode: 1,
|
exitCode: 1,
|
||||||
);
|
);
|
||||||
});
|
}, skip: true); // https://github.com/flutter/flutter/issues/120750
|
||||||
|
|
||||||
testWithoutContext('analyze once with no-fatal-infos has info issue finally exit code 0.', () async {
|
testWithoutContext('analyze once with no-fatal-infos has info issue finally exit code 0.', () async {
|
||||||
const String infoSourceCode = '''
|
const String infoSourceCode = '''
|
||||||
@ -321,7 +321,7 @@ int analyze() {}
|
|||||||
],
|
],
|
||||||
exitMessageContains: '1 issue found.',
|
exitMessageContains: '1 issue found.',
|
||||||
);
|
);
|
||||||
});
|
}, skip: true); // https://github.com/flutter/flutter/issues/120750
|
||||||
|
|
||||||
testWithoutContext('analyze once only fatal-warnings has info issue finally exit code 0.', () async {
|
testWithoutContext('analyze once only fatal-warnings has info issue finally exit code 0.', () async {
|
||||||
const String infoSourceCode = '''
|
const String infoSourceCode = '''
|
||||||
@ -337,7 +337,7 @@ int analyze() {}
|
|||||||
],
|
],
|
||||||
exitMessageContains: '1 issue found.',
|
exitMessageContains: '1 issue found.',
|
||||||
);
|
);
|
||||||
});
|
}, skip: true); // https://github.com/flutter/flutter/issues/120750
|
||||||
|
|
||||||
testWithoutContext('analyze once only fatal-infos has warning issue finally exit code 0.', () async {
|
testWithoutContext('analyze once only fatal-infos has warning issue finally exit code 0.', () async {
|
||||||
const String warningSourceCode = '''
|
const String warningSourceCode = '''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user