Skip to content

Commit 02297fa

Browse files
committed
Fix hash suffix in FileCacheHashTests
1 parent 2894222 commit 02297fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ site/jekyll/_site
77
src/React.Sample.Cassette/cassette-cache
88
src/React.Sample.Mvc4/ClearScript.V8
99
*.generated.js
10+
*.generated.js.map
1011

1112
## Ignore Visual Studio temporary files, build results, and
1213
## files generated by popular Visual Studio add-ons.

src/React.Tests/Core/FileCacheHashTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void ValidateHashShouldReturnFalseWhenHashDoesNotMatch()
5555
public void ValidateHashShouldReturnTrueWhenHashMatches()
5656
{
5757
var hash = new FileCacheHash();
58-
Assert.IsTrue(hash.ValidateHash("// @hash " + SAMPLE_HASH + "\nHello World", SAMPLE_HASH));
58+
Assert.IsTrue(hash.ValidateHash("// @hash v2-" + SAMPLE_HASH + "\nHello World", SAMPLE_HASH));
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)