Fix broken test

Summary: public In this example we now get a dangling pointer dereference, so contains exactly doesn't work.

Reviewed By: jvillard

Differential Revision: D2773769

fb-gh-sync-id: 64d1044
master
Dulma Rodriguez 9 years ago committed by facebook-github-bot-5
parent a6fb4d82bb
commit bf9dc57a9b

@ -10,7 +10,7 @@
package endtoend.c;
import static org.hamcrest.MatcherAssert.assertThat;
import static utils.matchers.ResultContainsExactly.containsExactly;
import static utils.matchers.ResultContainsTheseErrors.contains;
import org.junit.BeforeClass;
import org.junit.Test;
@ -45,7 +45,7 @@ public class ResourceLeakTest {
assertThat(
"Results should contain " + RESOURCE_LEAK,
inferResults,
containsExactly(
contains(
RESOURCE_LEAK,
SOURCE_FILE,
functions

Loading…
Cancel
Save