git-commit-vandalism/t/t9004-example.sh
Jonathan Tan ddd3e31242 decorate: clean up and document API
Improve the names of the identifiers in decorate.h, document them, and
add an example of how to use these functions.

The example is compiled and run as part of the test suite.

Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-12-08 09:16:27 -08:00

11 lines
158 B
Bash
Executable File

#!/bin/sh
test_description='check that example code compiles and runs'
. ./test-lib.sh
test_expect_success 'decorate' '
test-example-decorate
'
test_done