From c76bf6fb801a5bd176ddae706ece8d8247d71fc2 Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Fri, 20 Mar 2020 18:08:04 +0900 Subject: [PATCH] s/all available definitions/all local definitions/ "available" implies ruby-build will be checking online sources but actually ruby-build doesn't do that. "local definitions" may be prefered. Pointed out by jasonkarns. --- bin/ruby-build | 2 +- test/definitions.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ruby-build b/bin/ruby-build index f10dc936..2d263845 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -9,7 +9,7 @@ # -v/--verbose Verbose mode: print compilation status to stdout # -4/--ipv4 Resolve names to IPv4 addresses only # -6/--ipv6 Resolve names to IPv6 addresses only -# --definitions List all available definitions +# --definitions List all local definitions # --version Show version of ruby-build # diff --git a/test/definitions.bats b/test/definitions.bats index 270ab03f..bbdee6ff 100644 --- a/test/definitions.bats +++ b/test/definitions.bats @@ -3,7 +3,7 @@ load test_helper NUM_DEFINITIONS="$(ls "$BATS_TEST_DIRNAME"/../share/ruby-build | wc -l)" -@test "list all available definitions" { +@test "list all local definitions" { run ruby-build --definitions assert_success assert_output_contains "1.9.3-p194"