Skip to content

Commit

Permalink
formatting to make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
hayribakici committed Jul 6, 2024
1 parent 238c065 commit 7d6a272
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/spotify.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import 'package:oauth2/oauth2.dart' as oauth2;
import 'package:spotify/spotify.dart';
import 'package:meta/meta.dart';


import 'src/models/_models.dart';

export 'package:oauth2/oauth2.dart'
Expand Down
3 changes: 1 addition & 2 deletions lib/src/spotify_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class SpotifyApi extends SpotifyApiBase {
{Function(SpotifyApiCredentials)? onCredentialsRefreshed})
: super(credentials, http.Client(), onCredentialsRefreshed);

SpotifyApi.fromClient(super.client)
: super.fromClient();
SpotifyApi.fromClient(super.client) : super.fromClient();

SpotifyApi.fromAuthCodeGrant(super.grant, super.responseUri)
: super.fromAuthCodeGrant();
Expand Down
5 changes: 2 additions & 3 deletions test/spotify_mock.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import 'package:oauth2/oauth2.dart' as oauth2;

/// Mock class for making requests
class SpotifyApiMock extends SpotifyApiBase {

factory SpotifyApiMock.create() =>
SpotifyApiMock(SpotifyApiCredentials('clientId','clientSecret'));
factory SpotifyApiMock.create() =>
SpotifyApiMock(SpotifyApiCredentials('clientId', 'clientSecret'));

SpotifyApiMock(SpotifyApiCredentials credentials)
: super.fromClient(MockClient(credentials));
Expand Down

0 comments on commit 7d6a272

Please sign in to comment.