Skip to content

Commit c238bd5

Browse files
rebeccahumjrfnl
andauthored
Namespace should be backslash rather than forward slash on unit test
Co-Authored-By: Juliette <[email protected]>
1 parent 57a05d2 commit c238bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressVIPMinimum/Tests/Constants/ConstantStringUnitTest.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if ( ! defined( WPCOM_VIP ) ) { // Error.
88
define( WPCOM_VIP ); // Error.
99
}
1010

11-
namespace Foo/Bar;
11+
namespace Foo\Bar;
1212
const REST_ALLOWED_META_PREFIXES = [ 'foo-', 'bar-', 'baz-' ];
1313
if ( defined( __NAMESPACE__ . '\REST_ALLOWED_META_PREFIXES' ) && in_array( 'foo-', REST_ALLOWED_META_PREFIXES, true ) ) { // Ok.
1414
define( __NAMESPACE__ . REST_ALLOWED_META_PREFIXES ); // Error.

0 commit comments

Comments
 (0)