File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 144144 @test dataset. project. is_writable === true
145145
146146 @test length (dataset. versions) == 2
147- @test dataset. _json[" versions" ][1 ][ " project" ] === nothing
147+ @test ! haskey ( dataset. _json[" versions" ][1 ], " project" )
148148 @test dataset. _json[" versions" ][1 ][" uploader" ][" username" ] == auth. username
149149 @test dataset. _json[" versions" ][2 ][" project" ] == project. project_id
150150 @test dataset. _json[" versions" ][2 ][" uploader" ][" username" ] == auth. username
162162 @test dataset. project. is_writable === true
163163
164164 @test length (dataset. versions) == 2
165- @test dataset. _json[" versions" ][1 ][ " project" ] === nothing
165+ @test ! haskey ( dataset. _json[" versions" ][1 ], " project" )
166166 @test dataset. _json[" versions" ][1 ][" uploader" ][" username" ] == auth. username
167167 @test dataset. _json[" versions" ][2 ][" project" ] == project. project_id
168168 @test dataset. _json[" versions" ][2 ][" uploader" ][" username" ] == auth. username
You can’t perform that action at this time.
0 commit comments