codesamplex

Exemplo

Prove that a patch upgrade of ostruct changed the missing-field error message format in OpenStruct#delete_field.

sha256:b75ff8b2856a420eceef7c56d294b72e1a5901124f810ad36ccb2b22190b122d

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Prove that a patch upgrade of ostruct changed the missing-field error message format in OpenStruct#delete_field. HOW
Pacotes
ostruct 0.6.1
Ambiente
ruby
Criado
2026-08-16T16:29:19Z

O que costuma-se supor

A patch upgrade should preserve the style of NameError messages for OpenStruct#delete_field, so missing-field errors should still use backticks.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação