Skip to content

Commit

Permalink
Fix class name typo (sebastienros#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokin authored and sebastienros committed Nov 3, 2017
1 parent 0fee3d5 commit 7564dee
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

namespace Jint.Tests.Runtime
{
public class NullPropogation
public class NullPropagation
{
public class NullPropgationReferenceResolver : IReferenceResolver
public class NullPropagationReferenceResolver : IReferenceResolver
{
public bool TryUnresolvableReference(Engine engine, Reference reference, out JsValue value)
{
Expand Down Expand Up @@ -38,9 +38,9 @@ public bool CheckCoercible(JsValue value)
}

[Fact]
public void NullPropagation()
public void NullPropagationTest()
{
var engine = new Engine(cfg => cfg.SetReferencesResolver(new NullPropgationReferenceResolver()));
var engine = new Engine(cfg => cfg.SetReferencesResolver(new NullPropagationReferenceResolver()));

const string Script = @"
var input = {
Expand Down Expand Up @@ -75,7 +75,7 @@ public void NullPropagation()
[Fact]
public void NullPropagationFromArg()
{
var engine = new Engine(cfg => cfg.SetReferencesResolver(new NullPropgationReferenceResolver()));
var engine = new Engine(cfg => cfg.SetReferencesResolver(new NullPropagationReferenceResolver()));


const string Script = @"
Expand All @@ -100,7 +100,7 @@ function test2(arg) {
[Fact]
public void NullPropagationShouldNotAffectOperators()
{
var engine = new Engine(cfg => cfg.SetReferencesResolver(new NullPropgationReferenceResolver()));
var engine = new Engine(cfg => cfg.SetReferencesResolver(new NullPropagationReferenceResolver()));

var jsObject = engine.Object.Construct(Arguments.Empty);
jsObject.Put("NullField", JsValue.Null, true);
Expand Down

0 comments on commit 7564dee

Please sign in to comment.