Exemple #1
0
 public static void MatchSnapshot <T>(this string snapshot, Func <T> meta, SnapshotOptions options)
 {
     SnapshotTokenizer.Tokenize(snapshot, options)
     .SetMetadata(meta)
     .MatchSnapshot(options);
 }
Exemple #2
0
 public static void MatchSnapshot(this string snapshot, SnapshotOptions options)
 {
     SnapshotTokenizer.Tokenize(snapshot, options)
     .MatchSnapshot(options);
 }