diff --git a/folly/lang/BUCK b/folly/lang/BUCK index bbbfa68540e..4d9d5356147 100644 --- a/folly/lang/BUCK +++ b/folly/lang/BUCK @@ -196,6 +196,15 @@ cpp_library( ], ) +cpp_library( + name = "pretty", + headers = ["Pretty.h"], + exported_deps = [ + ":c_array", + "//folly:portability", + ], +) + cpp_library( name = "propagate_const", headers = ["PropagateConst.h"], @@ -269,15 +278,6 @@ cpp_library( ], ) -cpp_library( - name = "pretty", - headers = ["Pretty.h"], - exported_deps = [ - ":c_array", - "//folly:portability", - ], -) - cpp_library( name = "uncaught_exceptions", srcs = ["UncaughtExceptions.cpp"], diff --git a/folly/lang/test/BUCK b/folly/lang/test/BUCK index aee0d44740e..3cfa1882419 100644 --- a/folly/lang/test/BUCK +++ b/folly/lang/test/BUCK @@ -173,6 +173,15 @@ cpp_unittest( ], ) +cpp_unittest( + name = "pretty_test", + srcs = ["PrettyTest.cpp"], + deps = [ + "//folly/lang:pretty", + "//folly/portability:gtest", + ], +) + cpp_unittest( name = "propagate_const_test", srcs = ["PropagateConstTest.cpp"], @@ -247,12 +256,3 @@ cpp_unittest( "//folly/portability:gtest", ], ) - -cpp_unittest( - name = "pretty_test", - srcs = ["PrettyTest.cpp"], - deps = [ - "//folly/lang:pretty", - "//folly/portability:gtest", - ], -)