Skip to content

Commit 15f19d7

Browse files
committed
fix tests
1 parent a328093 commit 15f19d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const readdir = promisify(fs.readdir),
1010

1111
describe("CSHTML Razor Tests", () => {
1212
beforeEach(() => {
13-
hljsDefineCshtmlRazor(hljs);
13+
hljs.registerLanguage('cshtml-razor', hljsDefineCshtmlRazor);
1414
});
1515
it("should generate correct markup", async () => {
1616
var files = await readdir(path.join(__dirname, "markup", "cshtml-razor"));

0 commit comments

Comments
 (0)