Skip to content

Commit

Permalink
test: Add associated
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmah309 committed Mar 11, 2024
1 parent 1cf530e commit 6e67b6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/rewind_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ void main() {

test('test1', () {
final current = StackTrace.current;
logFn = () => Log.t('test', override: 'override', append: 'append', associatedStackTrace: current);
logFn = () => Log.t('test', override: 'override', append: 'append', associated: current);
func(logFn, 4);
});

test('test2', () {
final current = StackTrace.current;
logFn = () => Log.i('test', append: 'append', associatedStackTrace: current);
logFn = () => Log.i('test', append: 'append', associated: current);
func(logFn, 4);
});

Expand All @@ -38,7 +38,7 @@ void main() {
});

test('test-anyhow1', () {
logFn = () => Log.t(bail("bailing here trace"), associatedStackTrace: StackTrace.current);
logFn = () => Log.t(bail("bailing here trace"), associated: StackTrace.current);
func(logFn, 4);
});

Expand Down

0 comments on commit 6e67b6e

Please sign in to comment.