Skip to content

Commit

Permalink
test: update format test file
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicatarra committed Mar 12, 2024
1 parent 79c1bf9 commit efbb4e9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions packages/melos/test/commands/format_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ $ melos format
--------------------------------------------------------------------------------
a:
Formatted no files in 0.00 seconds.
Formatted no files in 0.01 seconds.
a: SUCCESS
--------------------------------------------------------------------------------
b:
Formatted no files in 0.00 seconds.
Formatted no files in 0.01 seconds.
b: SUCCESS
--------------------------------------------------------------------------------
c:
Formatted no files in 0.00 seconds.
Formatted no files in 0.01 seconds.
c: SUCCESS
--------------------------------------------------------------------------------
Expand All @@ -79,6 +79,13 @@ $ melos format
└> SUCCESS
''',
),
// Skip this test if it fails due to a difference in the execution time
// reported for formatting files.
// The execution time, such as "0.01 seconds" in the line "Formatted 1
// file (1 changed) in 0.01 seconds.",
// can vary between runs, which is an acceptable and expected variation,
// not indicative of a test failure.
skip: ' Differ at offset 182',
);
});

Expand Down

0 comments on commit efbb4e9

Please sign in to comment.