Skip to content

Commit

Permalink
un-format scip snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnitschke-wk committed Sep 11, 2023
1 parent 06e0279 commit 213dee1
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion snapshots/input/basic-project/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ class SomeLocalClass {}
/// Missing Reference: [IDontExist]
void someFunction(int value) {
Foo(1);
}
}
6 changes: 3 additions & 3 deletions snapshots/input/basic-project/lib/more.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ void main() {
print(dog);
print('The sum of $numbers is $sum');

print(math.Rectangle(1, 2, 3, 4));
print(math.Rectangle(1,2,3,4));

[1, 2].reduce((a, b) => a + b);
[1,2].reduce((a, b) => a + b);
}

void test(String Function(int) p) {}
void deepTest(String Function(void Function(String test)) p) {}
void deepTest(String Function(void Function(String test)) p) {}
6 changes: 4 additions & 2 deletions snapshots/input/basic-project/lib/other.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ class Bar {
}

void main() {
more.loadLibrary().then((_) => {Bar('a').someMethod.call()});
}
more.loadLibrary().then((_) => {
Bar('a').someMethod.call()
});
}
2 changes: 1 addition & 1 deletion snapshots/input/basic-project/test/basic_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ void main() {
expect(1, 1);
});
});
}
}
1 change: 0 additions & 1 deletion snapshots/output/basic-project/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@
Foo(1);
// ^^^ reference scip-dart pub dart_test 1.0.0 lib/other.dart/Foo#
}

19 changes: 9 additions & 10 deletions snapshots/output/basic-project/lib/more.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,19 +184,19 @@
// ^^^^^^^ reference local 4
// ^^^ reference local 5

print(math.Rectangle(1, 2, 3, 4));
print(math.Rectangle(1,2,3,4));
// ^^^^^ reference scip-dart pub dart:core 3.1.0 dart:core/print.dart/print().
// ^^^^ reference scip-dart pub dart_test 1.0.0 lib/more.dart/math.
// ^^^^^^^^^ reference scip-dart pub dart:math 3.1.0 dart:math/rectangle.dart/Rectangle#

[1, 2].reduce((a, b) => a + b);
// ^^^^^^ reference scip-dart pub dart:core 3.1.0 dart:core/iterable.dart/Iterable#reduce().
// ^ definition local 8
// documentation ```dart
// ^ definition local 9
// documentation ```dart
// ^ reference local 8
// ^ reference local 9
[1,2].reduce((a, b) => a + b);
// ^^^^^^ reference scip-dart pub dart:core 3.1.0 dart:core/iterable.dart/Iterable#reduce().
// ^ definition local 8
// documentation ```dart
// ^ definition local 9
// documentation ```dart
// ^ reference local 8
// ^ reference local 9
}

void test(String Function(int) p) {}
Expand All @@ -213,4 +213,3 @@
// ^^^^^^ reference scip-dart pub dart:core 3.1.0 dart:core/string.dart/String#
// ^ definition local 11
// documentation ```dart

9 changes: 5 additions & 4 deletions snapshots/output/basic-project/lib/other.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@
void main() {
// ^^^^ definition scip-dart pub dart_test 1.0.0 lib/other.dart/main().
// documentation ```dart
more.loadLibrary().then((_) => {Bar('a').someMethod.call()});
more.loadLibrary().then((_) => {
// ^^^^ reference scip-dart pub dart_test 1.0.0 lib/other.dart/more.
// ^^^^ reference scip-dart pub dart:async 3.1.0 dart:async/future.dart/Future#then().
// ^ definition local 4
// documentation ```dart
// ^^^ reference scip-dart pub dart_test 1.0.0 lib/other.dart/Bar#
// ^^^^^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/other.dart/Bar#someMethod().
Bar('a').someMethod.call()
// ^^^ reference scip-dart pub dart_test 1.0.0 lib/other.dart/Bar#
// ^^^^^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/other.dart/Bar#someMethod().
});
}

1 change: 0 additions & 1 deletion snapshots/output/basic-project/test/basic_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
});
});
}

0 comments on commit 213dee1

Please sign in to comment.