Skip to content

Commit d7f0dcf

Browse files
committed
refactor: fix typo in private test method
1 parent 187d611 commit d7f0dcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/env/common.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ HandlebarsTestBench.prototype.withMessage = function(message) {
167167
};
168168

169169
HandlebarsTestBench.prototype.toCompileTo = function(expectedOutputAsString) {
170-
expect(this._compileAndExeute()).to.equal(expectedOutputAsString);
170+
expect(this._compileAndExecute()).to.equal(expectedOutputAsString);
171171
};
172172

173173
// see chai "to.throw" (https://www.chaijs.com/api/bdd/#method_throw)
@@ -178,11 +178,11 @@ HandlebarsTestBench.prototype.toThrow = function(
178178
) {
179179
var self = this;
180180
expect(function() {
181-
self._compileAndExeute();
181+
self._compileAndExecute();
182182
}).to.throw(errorLike, errMsgMatcher, msg);
183183
};
184184

185-
HandlebarsTestBench.prototype._compileAndExeute = function() {
185+
HandlebarsTestBench.prototype._compileAndExecute = function() {
186186
var compile =
187187
Object.keys(this.partials).length > 0
188188
? CompilerContext.compileWithPartial

0 commit comments

Comments
 (0)