1.3.12 - вырезание нитки

This commit is contained in:
Alexander Yakovlev 2021-01-20 14:39:04 +07:00
parent 0e63dece47
commit 783aba914b
Signed by: oreolek
GPG key ID: 1CDC4B7820C93BD3
5 changed files with 22 additions and 2 deletions

View file

@ -2,6 +2,9 @@
### История изменений
#### 1.3.12 - 20 января
- объект "ника"
#### 1.3.11 - 19 января
- Модульные тесты поймали баг: робот не проверял гнездо для руки.
Если положить руку в гнездо, он писал "пустое гнездо", не включался

View file

@ -168,7 +168,7 @@ function getCanonical(what)
return ''
end
if what.canonical == nil or what.canonical == '' then
return what:noun('им')
return mrd.lang.lower(what:noun('им'));
end
return what.canonical
end

View file

@ -1,5 +1,5 @@
--$Name: Полёт в Петербург$
--$Version: 1.3.11$
--$Version: 1.3.12$
--$Author:Александр Яковлев$
require "fmt"

View file

@ -167,3 +167,14 @@ obj {
['полк/пр'] = 'полке';
}:attr 'animate'
obj {
-"Ника/жр";
nam = 'nika';
}: dict {
['Ника/рд'] = 'Ники';
['Ника/дт'] = 'Нике';
['Ника/вн'] = 'Нику';
['Ника/тв'] = 'Никой';
['Ника/пр'] = 'Нике';
}:attr 'animate'

View file

@ -185,6 +185,12 @@ pl.life = function(s)
expect(here():srch('plastinka')).to.be(nil)
expect(here():srch('plastika')).to.exist()
end);
it('Ника', function()
parse('вырезать н из нитки');
expect(here():srch('thread')).to.exist()
expect(here():srch('nika')).to.be(nil)
end);
end)
return false