Fix broken test case

This commit is contained in:
Ming Ming 2023-02-24 00:26:35 +08:00
parent 7a17f2b274
commit 85e485c021

View file

@ -15,12 +15,11 @@ void main() {
test("NpLog", () async {
await expectGen("Test", completion("""
// ignore: non_constant_identifier_names
final _\$logTest = Logger("np_log.Test");
extension _\$TestNpLog on Test {
// ignore: unused_element
Logger get _log => _\$logTest;
Logger get _log => log;
static final log = Logger("np_log.Test");
}
"""));
});