Skip to content

Commit b25154a

Browse files
chore: fix test assertion
1 parent eafe5a3 commit b25154a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/render.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ describe('render', () => {
4949
);
5050
}
5151
let rendered = render(
52-
<div class="foo">
52+
<div>
5353
x<a>a</a>
5454
<b>b</b>c{children}d
5555
</div>
5656
);
5757

58-
expect(rendered).not.to.contain(/\s/);
58+
expect(rendered).not.to.match(/\s/);
5959
});
6060

6161
it('should not indent when attributes contain newlines', () => {

0 commit comments

Comments
 (0)