Skip to content

Commit

Permalink
fix #48
Browse files Browse the repository at this point in the history
  • Loading branch information
twifty committed May 11, 2018
1 parent fbee2ba commit 45c0d4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/workspace/php-unit-workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,7 @@ export default class PhpUnitWorkspace
insertPos = new Point(0, 0)
} else {
meta = await adapter.createTestCase(source, target)
insertPos = target.getClassRange().end.copy()
insertPos.row -= 2
insertPos = new Point(target.getClassRange().end.row - 1, 0)
}

const {text, cursor, select} = this.offsetCursor(meta, insertPos)
Expand Down

0 comments on commit 45c0d4c

Please sign in to comment.