Skip to content

Commit

Permalink
rename php test file for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
frosty00 committed Feb 17, 2021
1 parent 72fd2ba commit 57ac7a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/transpile.js
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ class Transpiler {
transpilePhpAsyncToSync () {

const async = './php/test/test_async.php'
const sync = './php/test/test.php'
const sync = './php/test/test_sync.php'
log.magenta ('Transpiling ' + async .yellow + ' → ' + sync.yellow)
const fileContents = fs.readFileSync (async, 'utf8')
const syncBody = this.transpileAsyncPHPToSyncPHP (fileContents)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const testExchange = async (exchange) => {
{ language: 'JavaScript', key: '--js', exec: ['node', 'js/test/test.js', ...args] },
{ language: 'Python 3', key: '--python', exec: ['python3', 'python/test/test_sync.py', ...args] },
{ language: 'Python 3 Async', key: '--python-async', exec: ['python3', 'python/test/test_async.py', ...args] },
{ language: 'PHP', key: '--php', exec: ['php', '-f', 'php/test/test.php', ...args] },
{ language: 'PHP', key: '--php', exec: ['php', '-f', 'php/test/test_sync.php', ...args] },
{ language: 'PHP Async', key: '--php-async', exec: ['php', '-f', 'php/test/test_async.php', ...args] },
]
, selectedTests = allTests.filter (t => keys[t.key])
Expand Down

0 comments on commit 57ac7a9

Please sign in to comment.