termux-packages/packages/ruby/tests/default_encoding_isutf8.sh
Fredrik Fornwall 4a9eb8522e Add start of regression testing of packages
Current plan is to have a tests/ folder in packages, where each
file in this folder is a shell script which indicates a test
failure by a non-zero exit value.
2016-05-10 20:43:31 +02:00

2 lines
74 B
Bash

assert_equals '#<Encoding:UTF-8>' `ruby -e 'p Encoding.default_external'`