Can I escape the pipe in specflow (or gherkin)

后端 未结 1 395
清酒与你
清酒与你 2021-01-03 17:28

I\'ve got a specflow step table that I want to have the | (pipe) character as a part of the content.

Example:

Then the data should be
           


        
相关标签:
1条回答
  • 2021-01-03 18:24

    Bah. I can't believe I didn't find this earlier. You CAN escape a pipe with the backslash, but the specflow syntax highlighter gets confused by it.

    Then the data should be
        | Field     | Value    |
        | SomeField | a\|b\|c  |
    
    0 讨论(0)
提交回复
热议问题