Skip to content

Commit

Permalink
avoid unknown field error
Browse files Browse the repository at this point in the history
  • Loading branch information
taichi-ishitani committed Jul 20, 2024
1 parent 87e1a00 commit fbc646c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/rggen/c_header/register_block/c_header_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@
include_context 'c header common'

before(:all) do
RgGen.define_simple_feature(:register_block, :protocol) do
configuration { build {} }
end
RgGen.enable_all
end

after(:all) do
RgGen.delete(:register_block, :protocol)
end

context '幅広レジスタが許可されている場合' do
it 'ConfigurationErrorを起こす' do
configuration =
Expand Down

0 comments on commit fbc646c

Please sign in to comment.