forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: It's hard to use buck audit rules for integration tests because it's not deterministic. Make it deterministic based on name Reviewed By: ttsugriy fbshipit-source-id: ab0b6be
- Loading branch information
1 parent
a455983
commit a96c071
Showing
8 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
test/com/facebook/buck/cli/testdata/audit_rules/stdout.sorted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# unsorted/BUCK | ||
|
||
export_file( | ||
name = "0.txt", | ||
) | ||
|
||
export_file( | ||
name = "a.txt", | ||
) | ||
|
||
export_file( | ||
name = "z.txt", | ||
) | ||
|
Empty file.
5 changes: 5 additions & 0 deletions
5
test/com/facebook/buck/cli/testdata/audit_rules/unsorted/BUCK.fixture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export_file(name = "z.txt") | ||
|
||
export_file(name = "0.txt") | ||
|
||
export_file(name = "a.txt") |
Empty file.
Empty file.