2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-28 08:43:51 +00:00
bazel-skylib/docs/diff_test_doc.md

1.3 KiB
Executable file

diff_test

diff_test(name, file1, file2, kwargs)

A test that compares two files.

The test succeeds if the files' contents match.

Parameters

name required.

The name of the test rule.

file1 required.

Label of the file to compare to file2.

file2 required.

Label of the file to compare to file1.

kwargs optional.

The common attributes for tests.