You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat Test.java/* @todo #TEST-13 *//* @todo #TEST-14 Make it work */void main() {}
$ pdd -v -f pdd-bug.xmlMy version is 0.23.1Ruby version is 2.7.8 at x86_64-linuxReading from root dir /data/mystamps/data/mystamps/pdd-bug.xml is a binary file (0 bytes)Reading Test.java ...Puzzle TEST-13-c4c9bdd4 0/DEV at Test.javaPuzzle TEST-14-95e7863d 0/DEV at Test.java
$ cat pdd-bug.xml<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type='text/xsl' href='http://pdd-xsl.teamed.io/0.23.1.xsl'?><puzzles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://pdd-xsd.teamed.io/0.23.1.xsd" version="0.23.1" date="2023-06-09T04:58:16Z"> <puzzle> <ticket>TEST-13</ticket> <estimate>0</estimate> <role>DEV</role> <id>TEST-13-c4c9bdd4</id> <lines>1-1</lines> <body>*/</body> <file>Test.java</file> </puzzle> <puzzle> <ticket>TEST-14</ticket> <estimate>0</estimate> <role>DEV</role> <id>TEST-14-95e7863d</id> <lines>2-2</lines> <body>Make it work */</body> <file>Test.java</file> </puzzle></puzzles>
Expected behavior:
The comment /* @todo #TEST-14 Make it work */ should produce <body>Make it work</body>
Observed behavior:
The comment /* @todo #TEST-14 Make it work */ produces <body>Make it work */</body>
The text was updated successfully, but these errors were encountered:
BTW fix of this issue will break existing puzzles as it changes puzzle id of the existing comments and 0pdd will create new issues for the existing puzzles.
For now it is better to remove this time of the comments from supported, as it is not supported at all: there is only a logic to delete code from the beginning of the line. I think that this format is not very popular, I do not use it, for example
One of the examples from https://github.com/cqfn/pdd#how-to-format doesn't work as expected.
Expected behavior:
The comment
/* @todo #TEST-14 Make it work */
should produce<body>Make it work</body>
Observed behavior:
The comment
/* @todo #TEST-14 Make it work */
produces<body>Make it work */</body>
The text was updated successfully, but these errors were encountered: