import {statementType} from "../_utils";
import * as Statements from "../../../src/abap/2_statements/statements";

const tests = [
  "READ DATASET filename INTO wa_rawdata LENGTH length.",
  "READ DATASET lv_filename INTO ls_data MAXIMUM LENGTH lv_max ACTUAL LENGTH lv_actual.",
  "read dataset filename into lv_content maximum length 300000 actual length lv_actual.",
  `READ DATASET file INTO foo LENGTH bar MAXIMUM LENGTH max.`,
];

statementType(tests, "READ DATASET", Statements.ReadDataset);