summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2018-06-26 19:17:41 -0500
committerElliott Hughes2018-06-26 19:17:41 -0500
commit4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1 (patch)
tree48a5fd2469e87ee8cf69f9536d01030541d8f6c3 /base/include/android-base/test_utils.h
parent2aa50ff56df2da8854c4209751a5d88c936f3c9b (diff)
downloadplatform-system-core-4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1.tar.gz
platform-system-core-4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1.tar.xz
platform-system-core-4d8bbc6f8b5e18305b35147beea2d6c9c9d339b1.zip
libbase: switch to #pragma once.
Bug: N/A Test: builds Change-Id: I125498ac4257ac4e901c6f2a5f1bfac1432d859d
Diffstat (limited to 'base/include/android-base/test_utils.h')
-rw-r--r--base/include/android-base/test_utils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/base/include/android-base/test_utils.h b/base/include/android-base/test_utils.h
index b29676f7c..9e2ea97f2 100644
--- a/base/include/android-base/test_utils.h
+++ b/base/include/android-base/test_utils.h
@@ -14,8 +14,7 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17#ifndef ANDROID_BASE_TEST_UTILS_H 17#pragma once
18#define ANDROID_BASE_TEST_UTILS_H
19 18
20#include <regex> 19#include <regex>
21#include <string> 20#include <string>
@@ -114,5 +113,3 @@ class CapturedStdout : public CapturedStdFd {
114 ADD_FAILURE() << "regex mismatch: expected to not find " << (pattern) << " in:\n" << (str); \ 113 ADD_FAILURE() << "regex mismatch: expected to not find " << (pattern) << " in:\n" << (str); \
115 } \ 114 } \
116 } while (0) 115 } while (0)
117
118#endif // ANDROID_BASE_TEST_UTILS_H