summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp b/xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp
index a30a81742e..d0d657ee50 100644
--- a/xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp
@@ -820,12 +820,12 @@ TEST_F(FM2JSContextEmbedderTest, Choose) {
}
}
-TEST_F(FM2JSContextEmbedderTest, DISABLED_Exists) {
+TEST_F(FM2JSContextEmbedderTest, Exists) {
ASSERT_TRUE(OpenDocument("simple_xfa.pdf"));
EXPECT_TRUE(Execute("Exists(\"hello world\")"));
CFXJSE_Value* value = GetValue();
- EXPECT_TRUE(value->IsBoolean());
+ EXPECT_TRUE(value->IsInteger());
EXPECT_FALSE(value->ToBoolean());
}