mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Fix broken test case
This commit is contained in:
parent
7a17f2b274
commit
85e485c021
1 changed files with 3 additions and 4 deletions
|
@ -15,12 +15,11 @@ void main() {
|
||||||
|
|
||||||
test("NpLog", () async {
|
test("NpLog", () async {
|
||||||
await expectGen("Test", completion("""
|
await expectGen("Test", completion("""
|
||||||
// ignore: non_constant_identifier_names
|
|
||||||
final _\$logTest = Logger("np_log.Test");
|
|
||||||
|
|
||||||
extension _\$TestNpLog on Test {
|
extension _\$TestNpLog on Test {
|
||||||
// ignore: unused_element
|
// ignore: unused_element
|
||||||
Logger get _log => _\$logTest;
|
Logger get _log => log;
|
||||||
|
|
||||||
|
static final log = Logger("np_log.Test");
|
||||||
}
|
}
|
||||||
"""));
|
"""));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue