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

Make whitespace comparison better. #220

Open
ykmnkmi opened this issue Apr 19, 2023 · 0 comments
Open

Make whitespace comparison better. #220

ykmnkmi opened this issue Apr 19, 2023 · 0 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@ykmnkmi
Copy link

ykmnkmi commented Apr 19, 2023

For example write char code (10, 13, ...) or literal (\n, \r, ...) at cursor position.

00:02 +28 -1: test/common/pipes/date_pipe_test.dart: DatePipe transform should format each component correctly [E]
  Expected: '9 PM'
    Actual: '9 PM'
     Which: is different.
            Expected: 9 PM
              Actual: 9 PM
                       ^
             Differ at offset 1
  
  package:matcher           expect$0
  date_pipe_test.dart 36:9  <fn>
  
00:02 +28 -1: test/common/pipes/date_pipe_test.dart: DatePipe transform should format common multi component patterns
00:02 +28 -2: test/common/pipes/date_pipe_test.dart: DatePipe transform should format common multi component patterns [E]
  Expected: '9:43:11 PM'
    Actual: '9:43:11 PM'
     Which: is different.
            Expected: 9:43:11 PM
              Actual: 9:43:11 PM
                             ^
             Differ at offset 7
  
  package:matcher           expect$0
  date_pipe_test.dart 45:9  <fn>
  
00:02 +28 -2: test/common/pipes/date_pipe_test.dart: DatePipe transform should format with pattern aliases
00:02 +28 -3: test/common/pipes/date_pipe_test.dart: DatePipe transform should format with pattern aliases [E]
  Expected: 'Jun 15, 2015, 9:43:11 PM'
    Actual: 'Jun 15, 2015, 9:43:11 PM'
     Which: is different.
            Expected: ... 5, 9:43:11 PM
              Actual: ... 5, 9:43:11 PM
                                    ^
             Differ at offset 21
  
  package:matcher           expect$0
  date_pipe_test.dart 49:9  <fn>
  
00:02 +28 -3: test/common/pipes/date_pipe_test.dart: DatePipe transform should format millis in local timezone
00:02 +28 -4: test/common/pipes/date_pipe_test.dart: DatePipe transform should format millis in local timezone [E]
  Expected: '9 PM'
    Actual: '9 PM'
     Which: is different.
            Expected: 9 PM
              Actual: 9 PM
                       ^
             Differ at offset 1
  
  package:matcher           expect$0
  date_pipe_test.dart 70:9  <fn>
@ykmnkmi ykmnkmi added the type-enhancement A request for a change that isn't a bug label Apr 19, 2023
@natebosch natebosch transferred this issue from dart-lang/test May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant