]> git.ipfire.org Git - thirdparty/babel.git/commit
Increase coverage of JSX extraction tests 425/head
authorGeorg Schölly <git@gsch.ch>
Sat, 25 Jun 2016 10:59:00 +0000 (12:59 +0200)
committerAarni Koskela <akx@iki.fi>
Sat, 19 Nov 2016 14:06:16 +0000 (16:06 +0200)
commitfd351472cfbefaa5fd31331d277855b436f82ca6
tree24045f2b16d3256e316dc8293249064126054ac7
parentf8b62e5d74a11d572ffb8898d17f72ed09048583
Increase coverage of JSX extraction tests

b5e0ad8 fixed a few bugs with jsx parsing but only added
tests for the lexer. This commit adds a test for the extraction
which did not work before:

    <tag>{ _"Text" }</tag>

This test case is not present yet in the suite, only tags with
attributes (<tag attr="value">) are, but they get extracted correctly
already.
tests/messages/test_js_extract.py