Commit d9d1bb2b authored by Jackson Ray Hamilton's avatar Jackson Ray Hamilton

Rename tests to use the “.jsx” file extension

* test/manual/indent/js-jsx-quote.js: Renamed to “jsx-quote.jsx”.
* test/manual/indent/js-jsx-unclosed-1.js: Renamed to
“jsx-unclosed-1.jsx”.
* test/manual/indent/js-jsx-unclosed-2.js: Renamed to
“jsx-unclosed-2.jsx”.
* test/manual/indent/js-jsx.js: Renamed to “jsx.jsx”.

* test/manual/indent/jsx-quote.jsx: Renamed from “js-jsx-quote.js”.
* test/manual/indent/jsx-unclosed-1.jsx: Renamed from
“js-jsx-unclosed-1.js”.
* test/manual/indent/jsx-unclosed-2.jsx: Renamed from
“js-jsx-unclosed-2.js”.
* test/manual/indent/jsx.jsx: Renamed from “js-jsx.js”.
parent 8b92719b
// -*- mode: js-jsx; -*-
// JSX text node values should be strings, but only JS string syntax
// is considered, so quote marks delimit strings like normal, with
// disastrous results (https://github.com/mooz/js2-mode/issues/409).
......
// -*- mode: js-jsx; -*-
// Local Variables:
// indent-tabs-mode: nil
// js-indent-level: 2
......
// -*- mode: js-jsx; -*-
// Local Variables:
// indent-tabs-mode: nil
// js-indent-level: 2
......
// -*- mode: js-jsx; -*-
var foo = <div></div>;
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment