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.