Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lejard-h committed Dec 9, 2018
1 parent b48d01c commit 3f04229
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion chopper/example/definition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ part "definition.chopper.dart";

@ChopperApi(baseUrl: "/resources")
abstract class MyService extends ChopperService {

static MyService create([ChopperClient client]) => _$MyService(client);

@Get(url: "/{id}")
Expand Down
8 changes: 6 additions & 2 deletions chopper/test/base_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ void main() {
});

final chopper = ChopperClient(
services: [HttpTestService.create(),],
services: [
HttpTestService.create(),
],
client: client,
);

Expand All @@ -176,7 +178,9 @@ void main() {
});

final chopper = ChopperClient(
services: [HttpTestService.create(),],
services: [
HttpTestService.create(),
],
client: client,
);

Expand Down
4 changes: 2 additions & 2 deletions chopper/test/test_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ part "test_service.chopper.dart";

@ChopperApi(baseUrl: "/test")
abstract class HttpTestService extends ChopperService {

static HttpTestService create([ChopperClient client]) => _$HttpTestService(client);
static HttpTestService create([ChopperClient client]) =>
_$HttpTestService(client);

@Get(url: "get/{id}")
Future<Response> getTest(
Expand Down
1 change: 0 additions & 1 deletion example/lib/definition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ part "definition.chopper.dart";

@ChopperApi(baseUrl: "/resources")
abstract class MyService extends ChopperService {

static MyService create([ChopperClient client]) => _$MyService(client);

@Get(url: "/{id}/")
Expand Down

0 comments on commit 3f04229

Please sign in to comment.