Skip to content

Commit 095af73

Browse files
committed
stray test
1 parent ac50111 commit 095af73

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/lib/rules/no-unused-prop-types.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,29 +1914,6 @@ ruleTester.run('no-unused-prop-types', rule, {
19141914
' test: React.PropTypes.bool',
19151915
'};'
19161916
].join('\n')
1917-
}, {
1918-
// issue 1268
1919-
code: [
1920-
'export default function SampleComp(props) {',
1921-
' function buildText(text) {',
1922-
' return (',
1923-
' <span>',
1924-
' {text}',
1925-
' {props.append}',
1926-
' </span>',
1927-
' );',
1928-
' }',
1929-
' return (',
1930-
' <div>',
1931-
' {buildText(props.text)}',
1932-
' </div>',
1933-
' );',
1934-
' }',
1935-
'SampleComp.propTypes = {',
1936-
' text: PropTypes.string,',
1937-
' append: PropTypes.string',
1938-
'};'
1939-
].join('\n')
19401917
}
19411918
],
19421919

0 commit comments

Comments
 (0)