Skip to content

Commit

Permalink
add: (이) feature 추가
Browse files Browse the repository at this point in the history
조사 찾기에 (이) 추가
  • Loading branch information
JuYeong0413 authored and keepcosmos committed Jan 31, 2020
1 parent 62617ff commit 004493d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ununiga/josa_picker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ class JosaPicker
%w( ),
%w( ),
%w(으로 ),
%w(이의 )
%w(이의 ),
%w(),
].freeze

attr_reader :korean_str
Expand Down
3 changes: 3 additions & 0 deletions test/test_josa_picker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ def test_takewell

assert_equal '초록이의 돌봄이 시작됩니다.', takewell('초록(이)의 돌봄이 시작됩니다.')
assert_equal '앵두의 돌봄이 시작됩니다.', takewell('앵두(이)의 돌봄이 시작됩니다.')

assert_equal '초록이 보호자님!', takewell('초록(이) 보호자님!')
assert_equal '앵두 보호자님!', takewell('앵두(이) 보호자님!')
end

def test_find_josas
Expand Down

0 comments on commit 004493d

Please sign in to comment.