Skip to content

Conversation

denis-sh
Copy link
Contributor

['"':`"`, '\'':"'"]  // object
['\"':"\"", ''':"'"] // current formatting
['"':"\"", '\'':"'"] // improved formatting

@@ -2049,6 +2049,8 @@ unittest
`["aaa":1, "bbb":2, "ccc":3]` );
formatTest( ['c':"str"],
`['c':"str"]` );
formatTest( ['"':`"`, '\'':"'"],
`['"':"\"", '\'':"'"]` );
Copy link
Contributor

Choose a reason for hiding this comment

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

Use same representation for the test readability

formatTest(  ['"':"\"", '\'':"'"],
            `['"':"\"", '\'':"'"]` );

@9rnsr
Copy link
Contributor

9rnsr commented Apr 23, 2012

OK. This is small bug in Phobos, and we should fix this.
But, you should file this bug in bugzilla, assign issue number, and record the number in commit log with "fix Issue nnnn - bug summary".
It will make bug tracking and changelog writing easy.

@denis-sh
Copy link
Contributor Author

Done.

9rnsr added a commit that referenced this pull request Apr 23, 2012
Fix quotes escaping in std.format
@9rnsr 9rnsr merged commit 95d74cd into dlang:master Apr 23, 2012
@denis-sh
Copy link
Contributor Author

Issue 7975 doesn't look closed....

@9rnsr
Copy link
Contributor

9rnsr commented Apr 23, 2012

Auto-tester is yet not finished in all platforms.
Please wait a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants