Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Logan Laughlin
Added: Feb 5, 2020 5:16 PM
Modified: Feb 20, 2020 12:53 AM
Views: 96
Tags: assert regex
  1. Assert.IsNotNull\((.*?)\);
  2. $1.Should().NotBeNull();
  3.  
  4. Assert.IsNull\((.*?)\);
  5. $1.Should().BeNull();
  6.  
  7. Assert.IsTrue\((.*?)\);
  8. $1.Should().BeTrue();
  9.  
  10.  
  11. Assert.AreEqual\((.*?), (.*?)\);
  12. $2.Should().Be($1);
  13.