1
0
Fork 0
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:
Alex Kotov 2022-05-24 10:54:20 +03:00
parent b579b19bf5
commit 880fdd0ba7
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 3 additions and 1 deletions

View file

@ -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']