Skip to content

Commit

Permalink
test: Add dummy fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
relekang committed Apr 17, 2016
1 parent 42ab6f2 commit 367888a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
lib
test/fixtures/dummy.js
11 changes: 11 additions & 0 deletions test/fixtures/dummy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// this file is used to apply lint failures in while testing

const coffee = '☕'

if (typeof coffee === 'string') {
console.log('\o/')
}

console.log('----------')

return coffee;
13 changes: 13 additions & 0 deletions test/fixtures/dummy.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/test/fixtures/dummy.js b/test/fixtures/dummy.js
index 973b39f..abbf972 100644
--- a/test/fixtures/dummy.js
+++ b/test/fixtures/dummy.js
@@ -3,7 +3,7 @@
const coffee = '☕'

if (typeof coffee === 'string') {
- console.log('\o/')
+ console.log('\o/');
}

console.log('----------')

0 comments on commit 367888a

Please sign in to comment.