1
0
mirror of https://github.com/garraflavatra/go-fmp.git synced 2025-06-28 04:25:11 +00:00

Parse field repetition count

This commit is contained in:
2025-06-16 11:29:48 +02:00
parent cc10a1e7b4
commit c261a15041
2 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,9 @@ func TestTables(t *testing.T) {
if field.StorageType != FmpFieldStorageRegular {
t.Errorf("expected field storage type to be regular, but it is not")
}
if field.Repetitions != 1 {
t.Errorf("expected field repetition count to be 1, but it is %d", field.Repetitions)
}
if !field.Indexed {
t.Errorf("expected field to be indexed, but it is not")
}