Skip to content

Commit 42e3fb4

Browse files
committed
add test replacing field that has array case
1 parent 94245e5 commit 42e3fb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/pbxProject.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ exports['updateBuildProperty function'] = {
169169
myProj.updateBuildProperty('TARGETED_DEVICE_FAMILY', '"arm"');
170170
var newContents = myProj.writeSync();
171171
test.ok(newContents.match(/TARGETED_DEVICE_FAMILY\s*=\s*"arm"/));
172+
myProj.updateBuildProperty('OTHER_LDFLAGS', ['T','E','S','T']);
173+
newContents = myProj.writeSync();
174+
test.ok(newContents.match(/OTHER_LDFLAGS\s*=\s*\(\s*T,\s*E,\s*S,\s*T,\s*\)/))
172175
test.done();
173176
});
174177
}

0 commit comments

Comments
 (0)