How to escape double quotes in as a parameter to an NUnit TestCase?

前端 未结 1 1921
既然无缘
既然无缘 2020-12-06 04:20

I tried writing the following TestCase for an NUnit test written in VB.net:

\")>
Public Sub         


        
相关标签:
1条回答
  • 2020-12-06 04:44

    The correct way to escape double-quotes in VB is by doubling the double-quotes:

    <TestCase("FirstNode", "<node id=""FirstNode"">")>
    
    0 讨论(0)
提交回复
热议问题