Skip to content

Commit 4a20856

Browse files
committed
update unit test with new expectation to include body fragment direct children
1 parent a5b319f commit 4a20856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/pjax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ if ($.support.pjax) {
314314

315315
frame.$('body').on('pjax:success', function(event, data) {
316316
equal(typeof data, 'string')
317-
equal(frame.$("body > p").html().trim(), "Hello!")
317+
equal(frame.$("body > #main > p").html().trim(), "Hello!")
318318
equal(frame.document.title, "Hello")
319319
start()
320320
})

0 commit comments

Comments
 (0)