Closed aveXcaesar closed 5 years ago
The following statement should be true:
new Unescaped(new Escaped("hello").AsString()).AsString() == "hello";
...but the statement new Unescaped(new Escaped("hello").AsString()).AsString(); is ell. The first and last characters are dropped.
new Unescaped(new Escaped("hello").AsString()).AsString();
ell
I think there was a mistake by converting the Arg class to C#. The Unescaped() class should be refactored to not drop the first and last character.
Unescaped()
Expected Behavior
The following statement should be true:
Actual Behavior
...but the statement
new Unescaped(new Escaped("hello").AsString()).AsString();
isell
. The first and last characters are dropped.Steps to reproduce the behavior
The log given by the failure.
Mention any other details that might be useful
I think there was a mistake by converting the Arg class to C#. The
Unescaped()
class should be refactored to not drop the first and last character.