ApprovalTests.Net icon indicating copy to clipboard operation
ApprovalTests.Net copied to clipboard

Approvals.AssertText(expected, actual) to support 'actual' as arrays

Open goblinfactory opened this issue 5 years ago • 3 comments

Description

  • Adds an overload to Approvals.AssertText to support param actual to be both a string, or an array of string.
  • update documentation
  • cleanup tests

goblinfactory avatar Feb 01 '20 18:02 goblinfactory

@isidore can you please update the version and package? I'm ok to leave this without creating a new package and it will simply be included in the next release and I can create my own extension method in my project as a temporary until it's available.

goblinfactory avatar Feb 01 '20 18:02 goblinfactory

This project is not being actively maintained. Instead consider using Verify. See Migrating from ApprovalTests for more information.

SimonCropp avatar Dec 24 '21 11:12 SimonCropp

Don't do any special work for me, I'm writing code mostly in Golang nowdays. If I do any more C# I'll switch to use Verify as suggested above. Txs for all the work! cheers, Alan

goblinfactory avatar Dec 25 '21 01:12 goblinfactory