File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
### Fixed
10
10
- removed unmaintained dependency ` spin ` ([ #172 ] ( https://github.com/extrawurst/gitui/issues/172 ) )
11
- - fix opening relative paths in external editor ([ #184 ] ( https://github.com/extrawurst/gitui/issues/184 ) )
11
+ - opening relative paths in external editor may fail in subpaths ([ #184 ] ( https://github.com/extrawurst/gitui/issues/184 ) )
12
+ - crashes in revlog with utf8 commit messages ([ #188 ] ( https://github.com/extrawurst/gitui/issues/188 ) )
12
13
13
14
## [ 0.8.1] - 2020-07-07
14
15
Original file line number Diff line number Diff line change @@ -180,5 +180,9 @@ mod tests {
180
180
#[ test]
181
181
fn test_limit_string_utf8 ( ) {
182
182
assert_eq ! ( limit_str( "里里" , 1 ) , "里" ) ;
183
+
184
+ let test_src = "导入按钮由选文件改为选目录,因为整个过程中要用到多个mdb文件,这些文件是在程序里写死的,暂且这么来做,有时间了后 再做调整" ;
185
+ let test_dst = "导入按钮由选文" ;
186
+ assert_eq ! ( limit_str( test_src, 20 ) , test_dst) ;
183
187
}
184
188
}
You can’t perform that action at this time.
0 commit comments