Skip to content

use $n$ when matching error message with internal ids#6684

Merged
dlang-bot merged 1 commit intodlang:masterfrom
aG0aep6G:ice15441
Apr 10, 2017
Merged

use $n$ when matching error message with internal ids#6684
dlang-bot merged 1 commit intodlang:masterfrom
aG0aep6G:ice15441

Conversation

@aG0aep6G
Copy link
Contributor

$n$ is described in test/d_do_test.d:
"compare output string to reference string, but ignore places
marked by $n$ that contain compiler generated unique numbers"

This should unblock dlang/druntime#1807.

$n$ is described in test/d_do_test.d:
"compare output string to reference string, but ignore places
marked by $n$ that contain compiler generated unique numbers"
Copy link
Contributor

@dnadlinger dnadlinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+∞

Brittle tests are a huge liability…

@dnadlinger dnadlinger changed the title use $n$ use $n$ when matching error message with internal ids Apr 10, 2017
@dlang-bot dlang-bot merged commit ff65499 into dlang:master Apr 10, 2017
@aG0aep6G aG0aep6G deleted the ice15441 branch April 11, 2017 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants