Skip to content

Commit

Permalink
fix(lints): prefer_interpolation_to_compose_strings rule (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neha62-lit authored Oct 23, 2021
1 parent 91dfa62 commit cf18d45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/services/ib_engine_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class IbEngineServiceImpl implements IbEngineService {
pageUrl: _ibRawPageData.httpUrl,
title: _ibRawPageData.title,
content: [
IbMd(content: HtmlUnescape().convert(_ibRawPageData.rawContent) + '\n'),
IbMd(content: '${HtmlUnescape().convert(_ibRawPageData.rawContent)}\n'),
],
tableOfContents: _ibRawPageData.hasToc
? _getTableOfContents(_ibRawPageData.content)
Expand Down
2 changes: 1 addition & 1 deletion test/service_tests/database_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void main() {
db = locator<DatabaseService>();
await db.init();
var path = Directory.current.path;
Hive.init(path + '/test/hive_testing_path');
Hive.init('$path/test/hive_testing_path');
});

test('Set and Get data from a box', () async {
Expand Down
2 changes: 1 addition & 1 deletion test/service_tests/ib_api_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void main() {
group('fetchApiPage -', () {
setUpAll(() async {
var path = Directory.current.path;
Hive.init(path + '/test/hive_testing_path');
Hive.init('$path/test/hive_testing_path');
});

test('When called & http client returns succes response', () async {
Expand Down

0 comments on commit cf18d45

Please sign in to comment.