String interpolation issues
The problem with this line Assert.AreEqual(formatted, $”{{countdown|{date:o}}}”); is that you have 3 curly quotes after the format string of the variable to be escaped and it starts escaping from left to right, therefore it treats the first 2 curly quotes as part of the format string and the third curly quote as the closing one. … Read more