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

Tests fail when contained in one file, pass when separated (2015.12 Regression from 2015.11) #4944

Closed
p6rt opened this issue Dec 27, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 27, 2015

Migrated from rt.perl.org#127046 (status was 'new')

Searchable as RT127046$

@p6rt
Copy link
Author

p6rt commented Dec 27, 2015

From @atweiden

On 2015-12-27 14​:10​:48, archbaum@​gmail.com wrote​:

The following test fails​:

[not ok] https://bitbucket.org/atweiden/config-toml-
dev/src/deaaf2240d9301df91f3fdaad907398999a7efad/t/grammar/04-
document.t?at=default&fileviewer=file-view-default

When the failed test above is separated out into isolated files, each
test passes​:

[ok] https://bitbucket.org/atweiden/config-toml-
dev/src/deaaf2240d9301df91f3fdaad907398999a7efad/t/grammar/05-
document-iso.t?at=default&fileviewer=file-view-default
[ok] https://bitbucket.org/atweiden/config-toml-
dev/src/deaaf2240d9301df91f3fdaad907398999a7efad/t/grammar/06-
document-iso-hard.t?at=default&fileviewer=file-view-default
[ok] https://bitbucket.org/atweiden/config-toml-
dev/src/deaaf2240d9301df91f3fdaad907398999a7efad/t/grammar/07-
document-iso-standard.t?at=default&fileviewer=file-view-default

Failed test output attached.

@p6rt
Copy link
Author

p6rt commented Dec 27, 2015

From @atweiden

$ perl6 t/grammar/04-document.t
1..3
not ok 1 - ♪ [Grammar.parse($document)] - 1 of 3
┏━━━━━━━━━━━━━┓
┃ ┃ ∙ Parses TOML v0.4.0 document successfully
┃ Success ┃
┃ ┃
┗━━━━━━━━━━━━━┛

# Failed test '♪ [Grammar.parse($document)] - 1 of 3
# ┏━━━━━━━━━━━━━┓
# ┃ ┃ ∙ Parses TOML v0.4.0 document successfully
# ┃ Success ┃
# ┃ ┃
# ┗━━━━━━━━━━━━━┛
# '
# at t/grammar/04-document.t line 26
# expected​: (Match)
# got​: (Any)
ok 2 - ♪ [Grammar.parse($document_hard)] - 2 of 3
┏━━━━━━━━━━━━━┓
┃ ┃ ∙ Parses TOML v0.4.0 document successfully
┃ Success ┃
┃ ┃
┗━━━━━━━━━━━━━┛

not ok 3 - ♪ [Grammar.parse($document_standard)] - 3 of 3
┏━━━━━━━━━━━━━┓
┃ ┃ ∙ Parses TOML v0.4.0 document successfully
┃ Success ┃
┃ ┃
┗━━━━━━━━━━━━━┛

# Failed test '♪ [Grammar.parse($document_standard)] - 3 of 3
# ┏━━━━━━━━━━━━━┓
# ┃ ┃ ∙ Parses TOML v0.4.0 document successfully
# ┃ Success ┃
# ┃ ┃
# ┗━━━━━━━━━━━━━┛
# '
# at t/grammar/04-document.t line 50
# expected​: (Match)
# got​: (Any)
# Looks like you failed 2 tests of 3

@p6rt p6rt added the Bug label Jan 5, 2020
@usev6
Copy link

usev6 commented Oct 14, 2023

Unfortunately no-one found the time to look into this issue when it was fresh. Now, the links to the actual test code don't work anymore. I'll close the issue as "stale"/"can't reproduce".

@usev6 usev6 closed this as completed Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants