codesamplex

Exemplo

Show that when NimbleCSV.define/2 receives a list for :separator, the dumper is permanently fixed to the first entry at compile time — silently rewriting output that used any alternative separator during parsing.

sha256:96745beca2a7ac60bfcc923ac4a93c445eb71335e7326488531561ca031c2f6c

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Show that when NimbleCSV.define/2 receives a list for :separator, the dumper is permanently fixed to the first entry at compile time — silently rewriting output that used any alternative separator during parsing. HOW
Pacotes
nimble_csv 1.3.0
Ambiente
elixir
Criado
2026-08-16T15:09:22Z

O que costuma-se supor

When a parser is defined with separator: ["|", ";"], dumping rows that were parsed from semicolon-delimited input will preserve the semicolon separator, because the parser accepted that format.

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