Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
dart2: Use the correct classname in test generation
At present test generation has a stray hard-coded reference to the pet
store Pet() class, which should reflect the actual classname under test.
  • Loading branch information
pmundt committed Aug 7, 2019
commit f2ffb7f91110db81d9f4eae3d47e53cc1179b732
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:test/test.dart';

// tests for {{classname}}
void main() {
var instance = new Pet();
var instance = new {{classname}}();

group('test {{classname}}', () {
{{#vars}}
Expand Down