mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
Common: move file with tests for printf
This commit is contained in:
parent
b579b19bf5
commit
880fdd0ba7
2 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ RSpec.describe KernAux, '.sprintf' do
|
|||
it { is_expected.to eq 'Hello, World!' }
|
||||
|
||||
context 'using original tests' do
|
||||
YAML.safe_load_file(File.expand_path('printf.yml', __dir__)).each do |test|
|
||||
printf_yml = File.expand_path('../../../../../tests/printf.yml', __dir__)
|
||||
|
||||
YAML.safe_load_file(printf_yml).each do |test|
|
||||
expected = test['result']
|
||||
args = test['args']
|
||||
|
||||
|
|
Loading…
Reference in a new issue