-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
A few test cases fail if the project directory is located in a deep place #16305
Comments
@magurotuna By the way, I searched a bit but I couldn't see the reason why filepath has ellipsis... It seems the filepath has ellipsis after 101st character in your case. Therefore, I tried to find something related to this rule but I don't know yet. Please let me know if you have any clue! |
@shogohida deno/cli/tests/integration/run_tests.rs Lines 2849 to 2852 in a4d4acd
This means that the input for this case is this: deno/cli/tests/testdata/run/queue_microtask_error_handled.ts Lines 1 to 11 in a4d4acd
where we use The point is that we don't test |
@magurotuna I made a pull request to add slice to queue_microtask_error_handled and report_error_handled! |
In order for test cases to pass regardless of each individual's environment, this commit adds calls to `slice` method when printing the filenames so we can avoid getting `console.log` to truncate them. Fixes #16305
The following two test cases fail if they are located in a deeply nested place.
Output:
Seems like the "filename" field is different between the expected and actual one. The actual output shows the "omitted" file path (notice that the string ends with the ellipsis), probably because I put the project in a deep place.
This test failure doesn't cause any problem on CI, but it would be even better if we could successfully run it regardless of each individual's setup.
The text was updated successfully, but these errors were encountered: