Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Changes for landing https://github.com/dart-lang/sdk/issues/32161 #118

Merged
merged 1 commit into from
Feb 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion test/hit_types_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import 'package:usage/usage.dart';

import 'src/common.dart';

main() => defineTests();
void main() => defineTests();

void defineTests() {
group('screenView', () {
Expand Down
6 changes: 3 additions & 3 deletions test/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import 'package:usage/src/usage_impl.dart';
AnalyticsImplMock createMock({Map<String, dynamic> props}) =>
new AnalyticsImplMock('UA-0', props: props);

was(Map m, String type) => expect(m['t'], type);
has(Map m, String key) => expect(m[key], isNotNull);
hasnt(Map m, String key) => expect(m[key], isNull);
void was(Map m, String type) => expect(m['t'], type);
void has(Map m, String key) => expect(m[key], isNotNull);
void hasnt(Map m, String key) => expect(m[key], isNull);

class AnalyticsImplMock extends AnalyticsImpl {
MockProperties get mockProperties => properties;
Expand Down
2 changes: 1 addition & 1 deletion test/usage_impl_io_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import 'dart:io';
import 'package:test/test.dart';
import 'package:usage/src/usage_impl_io.dart';

main() => defineTests();
void main() => defineTests();

void defineTests() {
group('IOPostHandler', () {
Expand Down
2 changes: 1 addition & 1 deletion test/usage_impl_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'package:usage/src/usage_impl.dart';

import 'src/common.dart';

main() => defineTests();
void main() => defineTests();

void defineTests() {
group('ThrottlingBucket', () {
Expand Down
2 changes: 1 addition & 1 deletion test/usage_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library usage.usage_test;
import 'package:test/test.dart';
import 'package:usage/usage.dart';

main() => defineTests();
void main() => defineTests();

void defineTests() {
group('AnalyticsMock', () {
Expand Down
2 changes: 1 addition & 1 deletion test/uuid_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library usage.uuid_test;
import 'package:test/test.dart';
import 'package:usage/uuid/uuid.dart';

main() => defineTests();
void main() => defineTests();

void defineTests() {
group('uuid', () {
Expand Down