aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/wrapmacro_runme.php
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/php/wrapmacro_runme.php')
-rw-r--r--Examples/test-suite/php/wrapmacro_runme.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Examples/test-suite/php/wrapmacro_runme.php b/Examples/test-suite/php/wrapmacro_runme.php
index f32da990e..18b2ef1e1 100644
--- a/Examples/test-suite/php/wrapmacro_runme.php
+++ b/Examples/test-suite/php/wrapmacro_runme.php
@@ -1,12 +1,10 @@
<?php
require "tests.php";
-require "wrapmacro.php";
-check::functions(array('guint16_swap_le_be_constant', 'maximum'));
+check::functions(array('GUINT16_SWAP_LE_BE_CONSTANT', 'maximum'));
check::equal(maximum(2.3, 2.4), 2.4, "maximum() doesn't work");
check::equal(guint16_swap_le_be_constant(0x1234), 0x3412, "GUINT16_SWAP_LE_BE_CONSTANT() doesn't work");
check::done();
-?>