Skip to content

Commit

Permalink
transpiling precision tests fix #2397
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 31, 2018
1 parent c66a4b3 commit f3e1a71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion php/test/decimal_to_precision.php
@@ -1,7 +1,8 @@
<?php

namespace ccxt;

include_once ('ccxt.php');
include_once ('./php/Exchange.php');

// ----------------------------------------------------------------------------
// testDecimalToPrecisionErrorHandling
Expand Down
3 changes: 2 additions & 1 deletion transpile.js
Expand Up @@ -825,9 +825,10 @@ from ccxt.base.decimal_to_precision import NO_PADDING # noqa F401\n\

const phpHeader =
"<?php\n\
\n\
namespace ccxt;\n\
\n\
include_once ('ccxt.php');\n\
include_once ('./php/Exchange.php');\n\
\n\
// ----------------------------------------------------------------------------\n\
// testDecimalToPrecisionErrorHandling\n\
Expand Down

0 comments on commit f3e1a71

Please sign in to comment.