Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lints): prefer_interpolation_to_compose_strings rule #163

Merged
merged 1 commit into from
Oct 23, 2021
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 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