chore: generate template (#15)

This commit is contained in:
github-actions[bot]
2022-04-11 11:57:50 -05:00
committed by GitHub
parent 616b737d95
commit 61db82ebbb
8 changed files with 31 additions and 31 deletions

View File

@@ -14,10 +14,10 @@ void main() {
group('{{#pascalCase}}{{project_name}}{{/pascalCase}}Web', () {
const kPlatformName = 'Web';
late {{#pascalCase}}{{project_name}}{{/pascalCase}}Web myPlugin;
late {{#pascalCase}}{{project_name}}{{/pascalCase}}Web {{#camelCase}}{{project_name}}{{/camelCase}};
setUp(() async {
myPlugin = {{#pascalCase}}{{project_name}}{{/pascalCase}}Web();
{{#camelCase}}{{project_name}}{{/camelCase}} = {{#pascalCase}}{{project_name}}{{/pascalCase}}Web();
});
test('can be registered', () {
@@ -26,7 +26,7 @@ void main() {
});
test('getPlatformName returns correct name', () async {
final name = await myPlugin.getPlatformName();
final name = await {{#camelCase}}{{project_name}}{{/camelCase}}.getPlatformName();
expect(name, equals(kPlatformName));
});
});