// DO NOT EDIT: This file is autogenerated via the builtin command.

package tasks

import (
	ast "github.com/influxdata/flux/ast"
	parser "github.com/influxdata/flux/internal/parser"
)

var FluxTestPackages = []*ast.Package{&ast.Package{
	BaseNode: ast.BaseNode{
		Comments: nil,
		Errors:   nil,
		Loc:      nil,
	},
	Files: []*ast.File{&ast.File{
		BaseNode: ast.BaseNode{
			Comments: nil,
			Errors:   nil,
			Loc: &ast.SourceLocation{
				End: ast.Position{
					Column: 3,
					Line:   27,
				},
				File:   "last_success_duration_no_option_test.flux",
				Source: "package tasks_test\n\n\nimport \"testing\"\nimport \"array\"\nimport \"influxdata/influxdb/tasks\"\n\noption now = () => 2020-09-08T09:00:00Z\n\noutData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-07T09:00:00Z\n\"\nt_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)\n\ntest _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
				Start: ast.Position{
					Column: 1,
					Line:   1,
				},
			},
		},
		Body: []ast.Statement{&ast.OptionStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 40,
							Line:   8,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "now = () => 2020-09-08T09:00:00Z",
						Start: ast.Position{
							Column: 8,
							Line:   8,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 11,
								Line:   8,
							},
							File:   "last_success_duration_no_option_test.flux",
							Source: "now",
							Start: ast.Position{
								Column: 8,
								Line:   8,
							},
						},
					},
					Name: "now",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 40,
								Line:   8,
							},
							File:   "last_success_duration_no_option_test.flux",
							Source: "() => 2020-09-08T09:00:00Z",
							Start: ast.Position{
								Column: 14,
								Line:   8,
							},
						},
					},
					Body: &ast.DateTimeLiteral{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 40,
									Line:   8,
								},
								File:   "last_success_duration_no_option_test.flux",
								Source: "2020-09-08T09:00:00Z",
								Start: ast.Position{
									Column: 20,
									Line:   8,
								},
							},
						},
						Value: parser.MustParseTime("2020-09-08T09:00:00Z"),
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 40,
						Line:   8,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "option now = () => 2020-09-08T09:00:00Z",
					Start: ast.Position{
						Column: 1,
						Line:   8,
					},
				},
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   16,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "outData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-07T09:00:00Z\n\"",
					Start: ast.Position{
						Column: 1,
						Line:   10,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 8,
							Line:   10,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "outData",
						Start: ast.Position{
							Column: 1,
							Line:   10,
						},
					},
				},
				Name: "outData",
			},
			Init: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   16,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "\"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-07T09:00:00Z\n\"",
						Start: ast.Position{
							Column: 11,
							Line:   10,
						},
					},
				},
				Value: "\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-07T09:00:00Z\n",
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   21,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "t_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)",
					Start: ast.Position{
						Column: 1,
						Line:   17,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   17,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "t_last_success",
						Start: ast.Position{
							Column: 1,
							Line:   17,
						},
					},
				},
				Name: "t_last_success",
			},
			Init: &ast.FunctionExpression{
				Arrow: nil,
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   21,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "() => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)",
						Start: ast.Position{
							Column: 18,
							Line:   17,
						},
					},
				},
				Body: &ast.CallExpression{
					Arguments: []ast.Expression{&ast.ObjectExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 6,
									Line:   20,
								},
								File:   "last_success_duration_no_option_test.flux",
								Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ]",
								Start: ast.Position{
									Column: 5,
									Line:   18,
								},
							},
						},
						Lbrace: nil,
						Properties: []*ast.Property{&ast.Property{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 6,
										Line:   20,
									},
									File:   "last_success_duration_no_option_test.flux",
									Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ]",
									Start: ast.Position{
										Column: 5,
										Line:   18,
									},
								},
							},
							Comma: nil,
							Key: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 9,
											Line:   18,
										},
										File:   "last_success_duration_no_option_test.flux",
										Source: "rows",
										Start: ast.Position{
											Column: 5,
											Line:   18,
										},
									},
								},
								Name: "rows",
							},
							Separator: nil,
							Value: &ast.ArrayExpression{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 6,
											Line:   20,
										},
										File:   "last_success_duration_no_option_test.flux",
										Source: "[\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ]",
										Start: ast.Position{
											Column: 11,
											Line:   18,
										},
									},
								},
								Elements: []ast.Expression{&ast.ObjectExpression{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 48,
												Line:   19,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "{_time: tasks.lastSuccess(orTime: -1d)}",
											Start: ast.Position{
												Column: 9,
												Line:   19,
											},
										},
									},
									Lbrace: nil,
									Properties: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 47,
													Line:   19,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "_time: tasks.lastSuccess(orTime: -1d)",
												Start: ast.Position{
													Column: 10,
													Line:   19,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 15,
														Line:   19,
													},
													File:   "last_success_duration_no_option_test.flux",
													Source: "_time",
													Start: ast.Position{
														Column: 10,
														Line:   19,
													},
												},
											},
											Name: "_time",
										},
										Separator: nil,
										Value: &ast.CallExpression{
											Arguments: []ast.Expression{&ast.ObjectExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 46,
															Line:   19,
														},
														File:   "last_success_duration_no_option_test.flux",
														Source: "orTime: -1d",
														Start: ast.Position{
															Column: 35,
															Line:   19,
														},
													},
												},
												Lbrace: nil,
												Properties: []*ast.Property{&ast.Property{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 46,
																Line:   19,
															},
															File:   "last_success_duration_no_option_test.flux",
															Source: "orTime: -1d",
															Start: ast.Position{
																Column: 35,
																Line:   19,
															},
														},
													},
													Comma: nil,
													Key: &ast.Identifier{
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 41,
																	Line:   19,
																},
																File:   "last_success_duration_no_option_test.flux",
																Source: "orTime",
																Start: ast.Position{
																	Column: 35,
																	Line:   19,
																},
															},
														},
														Name: "orTime",
													},
													Separator: nil,
													Value: &ast.UnaryExpression{
														Argument: &ast.DurationLiteral{
															BaseNode: ast.BaseNode{
																Comments: nil,
																Errors:   nil,
																Loc: &ast.SourceLocation{
																	End: ast.Position{
																		Column: 46,
																		Line:   19,
																	},
																	File:   "last_success_duration_no_option_test.flux",
																	Source: "1d",
																	Start: ast.Position{
																		Column: 44,
																		Line:   19,
																	},
																},
															},
															Values: []ast.Duration{ast.Duration{
																Magnitude: int64(1),
																Unit:      "d",
															}},
														},
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 46,
																	Line:   19,
																},
																File:   "last_success_duration_no_option_test.flux",
																Source: "-1d",
																Start: ast.Position{
																	Column: 43,
																	Line:   19,
																},
															},
														},
														Operator: 6,
													},
												}},
												Rbrace: nil,
												With:   nil,
											}},
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 47,
														Line:   19,
													},
													File:   "last_success_duration_no_option_test.flux",
													Source: "tasks.lastSuccess(orTime: -1d)",
													Start: ast.Position{
														Column: 17,
														Line:   19,
													},
												},
											},
											Callee: &ast.MemberExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 34,
															Line:   19,
														},
														File:   "last_success_duration_no_option_test.flux",
														Source: "tasks.lastSuccess",
														Start: ast.Position{
															Column: 17,
															Line:   19,
														},
													},
												},
												Lbrack: nil,
												Object: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 22,
																Line:   19,
															},
															File:   "last_success_duration_no_option_test.flux",
															Source: "tasks",
															Start: ast.Position{
																Column: 17,
																Line:   19,
															},
														},
													},
													Name: "tasks",
												},
												Property: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 34,
																Line:   19,
															},
															File:   "last_success_duration_no_option_test.flux",
															Source: "lastSuccess",
															Start: ast.Position{
																Column: 23,
																Line:   19,
															},
														},
													},
													Name: "lastSuccess",
												},
												Rbrack: nil,
											},
											Lparen: nil,
											Rparen: nil,
										},
									}},
									Rbrace: nil,
									With:   nil,
								}},
								Lbrack: nil,
								Rbrack: nil,
							},
						}},
						Rbrace: nil,
						With:   nil,
					}},
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 2,
								Line:   21,
							},
							File:   "last_success_duration_no_option_test.flux",
							Source: "array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)",
							Start: ast.Position{
								Column: 24,
								Line:   17,
							},
						},
					},
					Callee: &ast.MemberExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 34,
									Line:   17,
								},
								File:   "last_success_duration_no_option_test.flux",
								Source: "array.from",
								Start: ast.Position{
									Column: 24,
									Line:   17,
								},
							},
						},
						Lbrack: nil,
						Object: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 29,
										Line:   17,
									},
									File:   "last_success_duration_no_option_test.flux",
									Source: "array",
									Start: ast.Position{
										Column: 24,
										Line:   17,
									},
								},
							},
							Name: "array",
						},
						Property: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 34,
										Line:   17,
									},
									File:   "last_success_duration_no_option_test.flux",
									Source: "from",
									Start: ast.Position{
										Column: 30,
										Line:   17,
									},
								},
							},
							Name: "from",
						},
						Rbrack: nil,
					},
					Lparen: nil,
					Rparen: nil,
				},
				Lparen: nil,
				Params: []*ast.Property{},
				Rparan: nil,
			},
		}, &ast.TestStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 3,
							Line:   27,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "_last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
						Start: ast.Position{
							Column: 6,
							Line:   23,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 19,
								Line:   23,
							},
							File:   "last_success_duration_no_option_test.flux",
							Source: "_last_success",
							Start: ast.Position{
								Column: 6,
								Line:   23,
							},
						},
					},
					Name: "_last_success",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 3,
								Line:   27,
							},
							File:   "last_success_duration_no_option_test.flux",
							Source: "() => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
							Start: ast.Position{
								Column: 22,
								Line:   23,
							},
						},
					},
					Body: &ast.ParenExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 3,
									Line:   27,
								},
								File:   "last_success_duration_no_option_test.flux",
								Source: "({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
								Start: ast.Position{
									Column: 28,
									Line:   23,
								},
							},
						},
						Expression: &ast.ObjectExpression{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 2,
										Line:   27,
									},
									File:   "last_success_duration_no_option_test.flux",
									Source: "{\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n}",
									Start: ast.Position{
										Column: 29,
										Line:   23,
									},
								},
							},
							Lbrace: nil,
							Properties: []*ast.Property{&ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 28,
											Line:   24,
										},
										File:   "last_success_duration_no_option_test.flux",
										Source: "input: t_last_success()",
										Start: ast.Position{
											Column: 5,
											Line:   24,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 10,
												Line:   24,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "input",
											Start: ast.Position{
												Column: 5,
												Line:   24,
											},
										},
									},
									Name: "input",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 28,
												Line:   24,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "t_last_success()",
											Start: ast.Position{
												Column: 12,
												Line:   24,
											},
										},
									},
									Callee: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   24,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "t_last_success",
												Start: ast.Position{
													Column: 12,
													Line:   24,
												},
											},
										},
										Name: "t_last_success",
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 40,
											Line:   25,
										},
										File:   "last_success_duration_no_option_test.flux",
										Source: "want: testing.loadMem(csv: outData)",
										Start: ast.Position{
											Column: 5,
											Line:   25,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 9,
												Line:   25,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "want",
											Start: ast.Position{
												Column: 5,
												Line:   25,
											},
										},
									},
									Name: "want",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: []ast.Expression{&ast.ObjectExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 39,
													Line:   25,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "csv: outData",
												Start: ast.Position{
													Column: 27,
													Line:   25,
												},
											},
										},
										Lbrace: nil,
										Properties: []*ast.Property{&ast.Property{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 39,
														Line:   25,
													},
													File:   "last_success_duration_no_option_test.flux",
													Source: "csv: outData",
													Start: ast.Position{
														Column: 27,
														Line:   25,
													},
												},
											},
											Comma: nil,
											Key: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 30,
															Line:   25,
														},
														File:   "last_success_duration_no_option_test.flux",
														Source: "csv",
														Start: ast.Position{
															Column: 27,
															Line:   25,
														},
													},
												},
												Name: "csv",
											},
											Separator: nil,
											Value: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 39,
															Line:   25,
														},
														File:   "last_success_duration_no_option_test.flux",
														Source: "outData",
														Start: ast.Position{
															Column: 32,
															Line:   25,
														},
													},
												},
												Name: "outData",
											},
										}},
										Rbrace: nil,
										With:   nil,
									}},
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 40,
												Line:   25,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "testing.loadMem(csv: outData)",
											Start: ast.Position{
												Column: 11,
												Line:   25,
											},
										},
									},
									Callee: &ast.MemberExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   25,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "testing.loadMem",
												Start: ast.Position{
													Column: 11,
													Line:   25,
												},
											},
										},
										Lbrack: nil,
										Object: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 18,
														Line:   25,
													},
													File:   "last_success_duration_no_option_test.flux",
													Source: "testing",
													Start: ast.Position{
														Column: 11,
														Line:   25,
													},
												},
											},
											Name: "testing",
										},
										Property: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 26,
														Line:   25,
													},
													File:   "last_success_duration_no_option_test.flux",
													Source: "loadMem",
													Start: ast.Position{
														Column: 19,
														Line:   25,
													},
												},
											},
											Name: "loadMem",
										},
										Rbrack: nil,
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 30,
											Line:   26,
										},
										File:   "last_success_duration_no_option_test.flux",
										Source: "fn: (tables=<-) => tables",
										Start: ast.Position{
											Column: 5,
											Line:   26,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 7,
												Line:   26,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "fn",
											Start: ast.Position{
												Column: 5,
												Line:   26,
											},
										},
									},
									Name: "fn",
								},
								Separator: nil,
								Value: &ast.FunctionExpression{
									Arrow: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 30,
												Line:   26,
											},
											File:   "last_success_duration_no_option_test.flux",
											Source: "(tables=<-) => tables",
											Start: ast.Position{
												Column: 9,
												Line:   26,
											},
										},
									},
									Body: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 30,
													Line:   26,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "tables",
												Start: ast.Position{
													Column: 24,
													Line:   26,
												},
											},
										},
										Name: "tables",
									},
									Lparen: nil,
									Params: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   26,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "tables=<-",
												Start: ast.Position{
													Column: 10,
													Line:   26,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 16,
														Line:   26,
													},
													File:   "last_success_duration_no_option_test.flux",
													Source: "tables",
													Start: ast.Position{
														Column: 10,
														Line:   26,
													},
												},
											},
											Name: "tables",
										},
										Separator: nil,
										Value: &ast.PipeLiteral{BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   26,
												},
												File:   "last_success_duration_no_option_test.flux",
												Source: "<-",
												Start: ast.Position{
													Column: 17,
													Line:   26,
												},
											},
										}},
									}},
									Rparan: nil,
								},
							}},
							Rbrace: nil,
							With:   nil,
						},
						Lparen: nil,
						Rparen: nil,
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 3,
						Line:   27,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "test _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
					Start: ast.Position{
						Column: 1,
						Line:   23,
					},
				},
			},
		}},
		Eof: nil,
		Imports: []*ast.ImportDeclaration{&ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 17,
						Line:   4,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "import \"testing\"",
					Start: ast.Position{
						Column: 1,
						Line:   4,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 17,
							Line:   4,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "\"testing\"",
						Start: ast.Position{
							Column: 8,
							Line:   4,
						},
					},
				},
				Value: "testing",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 15,
						Line:   5,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "import \"array\"",
					Start: ast.Position{
						Column: 1,
						Line:   5,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   5,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "\"array\"",
						Start: ast.Position{
							Column: 8,
							Line:   5,
						},
					},
				},
				Value: "array",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 35,
						Line:   6,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "import \"influxdata/influxdb/tasks\"",
					Start: ast.Position{
						Column: 1,
						Line:   6,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 35,
							Line:   6,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "\"influxdata/influxdb/tasks\"",
						Start: ast.Position{
							Column: 8,
							Line:   6,
						},
					},
				},
				Value: "influxdata/influxdb/tasks",
			},
		}},
		Metadata: "parser-type=rust",
		Name:     "last_success_duration_no_option_test.flux",
		Package: &ast.PackageClause{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 19,
						Line:   1,
					},
					File:   "last_success_duration_no_option_test.flux",
					Source: "package tasks_test",
					Start: ast.Position{
						Column: 1,
						Line:   1,
					},
				},
			},
			Name: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 19,
							Line:   1,
						},
						File:   "last_success_duration_no_option_test.flux",
						Source: "tasks_test",
						Start: ast.Position{
							Column: 9,
							Line:   1,
						},
					},
				},
				Name: "tasks_test",
			},
		},
	}, &ast.File{
		BaseNode: ast.BaseNode{
			Comments: nil,
			Errors:   nil,
			Loc: &ast.SourceLocation{
				End: ast.Position{
					Column: 3,
					Line:   28,
				},
				File:   "last_success_duration_option_test.flux",
				Source: "package tasks_test\n\n\nimport \"testing\"\nimport \"array\"\nimport \"influxdata/influxdb/tasks\"\n\noption now = () => 2020-09-08T09:00:00Z\noption tasks.lastSuccessTime = 2020-09-08T08:00:00Z\n\noutData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n\"\nt_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)\n\ntest _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
				Start: ast.Position{
					Column: 1,
					Line:   1,
				},
			},
		},
		Body: []ast.Statement{&ast.OptionStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 40,
							Line:   8,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "now = () => 2020-09-08T09:00:00Z",
						Start: ast.Position{
							Column: 8,
							Line:   8,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 11,
								Line:   8,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "now",
							Start: ast.Position{
								Column: 8,
								Line:   8,
							},
						},
					},
					Name: "now",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 40,
								Line:   8,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "() => 2020-09-08T09:00:00Z",
							Start: ast.Position{
								Column: 14,
								Line:   8,
							},
						},
					},
					Body: &ast.DateTimeLiteral{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 40,
									Line:   8,
								},
								File:   "last_success_duration_option_test.flux",
								Source: "2020-09-08T09:00:00Z",
								Start: ast.Position{
									Column: 20,
									Line:   8,
								},
							},
						},
						Value: parser.MustParseTime("2020-09-08T09:00:00Z"),
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 40,
						Line:   8,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "option now = () => 2020-09-08T09:00:00Z",
					Start: ast.Position{
						Column: 1,
						Line:   8,
					},
				},
			},
		}, &ast.OptionStatement{
			Assignment: &ast.MemberAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 52,
							Line:   9,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "tasks.lastSuccessTime = 2020-09-08T08:00:00Z",
						Start: ast.Position{
							Column: 8,
							Line:   9,
						},
					},
				},
				Init: &ast.DateTimeLiteral{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 52,
								Line:   9,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "2020-09-08T08:00:00Z",
							Start: ast.Position{
								Column: 32,
								Line:   9,
							},
						},
					},
					Value: parser.MustParseTime("2020-09-08T08:00:00Z"),
				},
				Member: &ast.MemberExpression{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 29,
								Line:   9,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "tasks.lastSuccessTime",
							Start: ast.Position{
								Column: 8,
								Line:   9,
							},
						},
					},
					Lbrack: nil,
					Object: &ast.Identifier{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 13,
									Line:   9,
								},
								File:   "last_success_duration_option_test.flux",
								Source: "tasks",
								Start: ast.Position{
									Column: 8,
									Line:   9,
								},
							},
						},
						Name: "tasks",
					},
					Property: &ast.Identifier{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 29,
									Line:   9,
								},
								File:   "last_success_duration_option_test.flux",
								Source: "lastSuccessTime",
								Start: ast.Position{
									Column: 14,
									Line:   9,
								},
							},
						},
						Name: "lastSuccessTime",
					},
					Rbrack: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 52,
						Line:   9,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "option tasks.lastSuccessTime = 2020-09-08T08:00:00Z",
					Start: ast.Position{
						Column: 1,
						Line:   9,
					},
				},
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   17,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "outData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n\"",
					Start: ast.Position{
						Column: 1,
						Line:   11,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 8,
							Line:   11,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "outData",
						Start: ast.Position{
							Column: 1,
							Line:   11,
						},
					},
				},
				Name: "outData",
			},
			Init: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   17,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "\"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n\"",
						Start: ast.Position{
							Column: 11,
							Line:   11,
						},
					},
				},
				Value: "\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n",
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   22,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "t_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)",
					Start: ast.Position{
						Column: 1,
						Line:   18,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   18,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "t_last_success",
						Start: ast.Position{
							Column: 1,
							Line:   18,
						},
					},
				},
				Name: "t_last_success",
			},
			Init: &ast.FunctionExpression{
				Arrow: nil,
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   22,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "() => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)",
						Start: ast.Position{
							Column: 18,
							Line:   18,
						},
					},
				},
				Body: &ast.CallExpression{
					Arguments: []ast.Expression{&ast.ObjectExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 6,
									Line:   21,
								},
								File:   "last_success_duration_option_test.flux",
								Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ]",
								Start: ast.Position{
									Column: 5,
									Line:   19,
								},
							},
						},
						Lbrace: nil,
						Properties: []*ast.Property{&ast.Property{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 6,
										Line:   21,
									},
									File:   "last_success_duration_option_test.flux",
									Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ]",
									Start: ast.Position{
										Column: 5,
										Line:   19,
									},
								},
							},
							Comma: nil,
							Key: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 9,
											Line:   19,
										},
										File:   "last_success_duration_option_test.flux",
										Source: "rows",
										Start: ast.Position{
											Column: 5,
											Line:   19,
										},
									},
								},
								Name: "rows",
							},
							Separator: nil,
							Value: &ast.ArrayExpression{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 6,
											Line:   21,
										},
										File:   "last_success_duration_option_test.flux",
										Source: "[\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ]",
										Start: ast.Position{
											Column: 11,
											Line:   19,
										},
									},
								},
								Elements: []ast.Expression{&ast.ObjectExpression{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 48,
												Line:   20,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "{_time: tasks.lastSuccess(orTime: -1d)}",
											Start: ast.Position{
												Column: 9,
												Line:   20,
											},
										},
									},
									Lbrace: nil,
									Properties: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 47,
													Line:   20,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "_time: tasks.lastSuccess(orTime: -1d)",
												Start: ast.Position{
													Column: 10,
													Line:   20,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 15,
														Line:   20,
													},
													File:   "last_success_duration_option_test.flux",
													Source: "_time",
													Start: ast.Position{
														Column: 10,
														Line:   20,
													},
												},
											},
											Name: "_time",
										},
										Separator: nil,
										Value: &ast.CallExpression{
											Arguments: []ast.Expression{&ast.ObjectExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 46,
															Line:   20,
														},
														File:   "last_success_duration_option_test.flux",
														Source: "orTime: -1d",
														Start: ast.Position{
															Column: 35,
															Line:   20,
														},
													},
												},
												Lbrace: nil,
												Properties: []*ast.Property{&ast.Property{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 46,
																Line:   20,
															},
															File:   "last_success_duration_option_test.flux",
															Source: "orTime: -1d",
															Start: ast.Position{
																Column: 35,
																Line:   20,
															},
														},
													},
													Comma: nil,
													Key: &ast.Identifier{
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 41,
																	Line:   20,
																},
																File:   "last_success_duration_option_test.flux",
																Source: "orTime",
																Start: ast.Position{
																	Column: 35,
																	Line:   20,
																},
															},
														},
														Name: "orTime",
													},
													Separator: nil,
													Value: &ast.UnaryExpression{
														Argument: &ast.DurationLiteral{
															BaseNode: ast.BaseNode{
																Comments: nil,
																Errors:   nil,
																Loc: &ast.SourceLocation{
																	End: ast.Position{
																		Column: 46,
																		Line:   20,
																	},
																	File:   "last_success_duration_option_test.flux",
																	Source: "1d",
																	Start: ast.Position{
																		Column: 44,
																		Line:   20,
																	},
																},
															},
															Values: []ast.Duration{ast.Duration{
																Magnitude: int64(1),
																Unit:      "d",
															}},
														},
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 46,
																	Line:   20,
																},
																File:   "last_success_duration_option_test.flux",
																Source: "-1d",
																Start: ast.Position{
																	Column: 43,
																	Line:   20,
																},
															},
														},
														Operator: 6,
													},
												}},
												Rbrace: nil,
												With:   nil,
											}},
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 47,
														Line:   20,
													},
													File:   "last_success_duration_option_test.flux",
													Source: "tasks.lastSuccess(orTime: -1d)",
													Start: ast.Position{
														Column: 17,
														Line:   20,
													},
												},
											},
											Callee: &ast.MemberExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 34,
															Line:   20,
														},
														File:   "last_success_duration_option_test.flux",
														Source: "tasks.lastSuccess",
														Start: ast.Position{
															Column: 17,
															Line:   20,
														},
													},
												},
												Lbrack: nil,
												Object: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 22,
																Line:   20,
															},
															File:   "last_success_duration_option_test.flux",
															Source: "tasks",
															Start: ast.Position{
																Column: 17,
																Line:   20,
															},
														},
													},
													Name: "tasks",
												},
												Property: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 34,
																Line:   20,
															},
															File:   "last_success_duration_option_test.flux",
															Source: "lastSuccess",
															Start: ast.Position{
																Column: 23,
																Line:   20,
															},
														},
													},
													Name: "lastSuccess",
												},
												Rbrack: nil,
											},
											Lparen: nil,
											Rparen: nil,
										},
									}},
									Rbrace: nil,
									With:   nil,
								}},
								Lbrack: nil,
								Rbrack: nil,
							},
						}},
						Rbrace: nil,
						With:   nil,
					}},
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 2,
								Line:   22,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: -1d)},\n    ],\n)",
							Start: ast.Position{
								Column: 24,
								Line:   18,
							},
						},
					},
					Callee: &ast.MemberExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 34,
									Line:   18,
								},
								File:   "last_success_duration_option_test.flux",
								Source: "array.from",
								Start: ast.Position{
									Column: 24,
									Line:   18,
								},
							},
						},
						Lbrack: nil,
						Object: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 29,
										Line:   18,
									},
									File:   "last_success_duration_option_test.flux",
									Source: "array",
									Start: ast.Position{
										Column: 24,
										Line:   18,
									},
								},
							},
							Name: "array",
						},
						Property: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 34,
										Line:   18,
									},
									File:   "last_success_duration_option_test.flux",
									Source: "from",
									Start: ast.Position{
										Column: 30,
										Line:   18,
									},
								},
							},
							Name: "from",
						},
						Rbrack: nil,
					},
					Lparen: nil,
					Rparen: nil,
				},
				Lparen: nil,
				Params: []*ast.Property{},
				Rparan: nil,
			},
		}, &ast.TestStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 3,
							Line:   28,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "_last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
						Start: ast.Position{
							Column: 6,
							Line:   24,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 19,
								Line:   24,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "_last_success",
							Start: ast.Position{
								Column: 6,
								Line:   24,
							},
						},
					},
					Name: "_last_success",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 3,
								Line:   28,
							},
							File:   "last_success_duration_option_test.flux",
							Source: "() => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
							Start: ast.Position{
								Column: 22,
								Line:   24,
							},
						},
					},
					Body: &ast.ParenExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 3,
									Line:   28,
								},
								File:   "last_success_duration_option_test.flux",
								Source: "({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
								Start: ast.Position{
									Column: 28,
									Line:   24,
								},
							},
						},
						Expression: &ast.ObjectExpression{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 2,
										Line:   28,
									},
									File:   "last_success_duration_option_test.flux",
									Source: "{\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n}",
									Start: ast.Position{
										Column: 29,
										Line:   24,
									},
								},
							},
							Lbrace: nil,
							Properties: []*ast.Property{&ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 28,
											Line:   25,
										},
										File:   "last_success_duration_option_test.flux",
										Source: "input: t_last_success()",
										Start: ast.Position{
											Column: 5,
											Line:   25,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 10,
												Line:   25,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "input",
											Start: ast.Position{
												Column: 5,
												Line:   25,
											},
										},
									},
									Name: "input",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 28,
												Line:   25,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "t_last_success()",
											Start: ast.Position{
												Column: 12,
												Line:   25,
											},
										},
									},
									Callee: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   25,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "t_last_success",
												Start: ast.Position{
													Column: 12,
													Line:   25,
												},
											},
										},
										Name: "t_last_success",
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 40,
											Line:   26,
										},
										File:   "last_success_duration_option_test.flux",
										Source: "want: testing.loadMem(csv: outData)",
										Start: ast.Position{
											Column: 5,
											Line:   26,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 9,
												Line:   26,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "want",
											Start: ast.Position{
												Column: 5,
												Line:   26,
											},
										},
									},
									Name: "want",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: []ast.Expression{&ast.ObjectExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 39,
													Line:   26,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "csv: outData",
												Start: ast.Position{
													Column: 27,
													Line:   26,
												},
											},
										},
										Lbrace: nil,
										Properties: []*ast.Property{&ast.Property{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 39,
														Line:   26,
													},
													File:   "last_success_duration_option_test.flux",
													Source: "csv: outData",
													Start: ast.Position{
														Column: 27,
														Line:   26,
													},
												},
											},
											Comma: nil,
											Key: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 30,
															Line:   26,
														},
														File:   "last_success_duration_option_test.flux",
														Source: "csv",
														Start: ast.Position{
															Column: 27,
															Line:   26,
														},
													},
												},
												Name: "csv",
											},
											Separator: nil,
											Value: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 39,
															Line:   26,
														},
														File:   "last_success_duration_option_test.flux",
														Source: "outData",
														Start: ast.Position{
															Column: 32,
															Line:   26,
														},
													},
												},
												Name: "outData",
											},
										}},
										Rbrace: nil,
										With:   nil,
									}},
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 40,
												Line:   26,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "testing.loadMem(csv: outData)",
											Start: ast.Position{
												Column: 11,
												Line:   26,
											},
										},
									},
									Callee: &ast.MemberExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   26,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "testing.loadMem",
												Start: ast.Position{
													Column: 11,
													Line:   26,
												},
											},
										},
										Lbrack: nil,
										Object: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 18,
														Line:   26,
													},
													File:   "last_success_duration_option_test.flux",
													Source: "testing",
													Start: ast.Position{
														Column: 11,
														Line:   26,
													},
												},
											},
											Name: "testing",
										},
										Property: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 26,
														Line:   26,
													},
													File:   "last_success_duration_option_test.flux",
													Source: "loadMem",
													Start: ast.Position{
														Column: 19,
														Line:   26,
													},
												},
											},
											Name: "loadMem",
										},
										Rbrack: nil,
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 30,
											Line:   27,
										},
										File:   "last_success_duration_option_test.flux",
										Source: "fn: (tables=<-) => tables",
										Start: ast.Position{
											Column: 5,
											Line:   27,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 7,
												Line:   27,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "fn",
											Start: ast.Position{
												Column: 5,
												Line:   27,
											},
										},
									},
									Name: "fn",
								},
								Separator: nil,
								Value: &ast.FunctionExpression{
									Arrow: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 30,
												Line:   27,
											},
											File:   "last_success_duration_option_test.flux",
											Source: "(tables=<-) => tables",
											Start: ast.Position{
												Column: 9,
												Line:   27,
											},
										},
									},
									Body: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 30,
													Line:   27,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "tables",
												Start: ast.Position{
													Column: 24,
													Line:   27,
												},
											},
										},
										Name: "tables",
									},
									Lparen: nil,
									Params: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   27,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "tables=<-",
												Start: ast.Position{
													Column: 10,
													Line:   27,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 16,
														Line:   27,
													},
													File:   "last_success_duration_option_test.flux",
													Source: "tables",
													Start: ast.Position{
														Column: 10,
														Line:   27,
													},
												},
											},
											Name: "tables",
										},
										Separator: nil,
										Value: &ast.PipeLiteral{BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   27,
												},
												File:   "last_success_duration_option_test.flux",
												Source: "<-",
												Start: ast.Position{
													Column: 17,
													Line:   27,
												},
											},
										}},
									}},
									Rparan: nil,
								},
							}},
							Rbrace: nil,
							With:   nil,
						},
						Lparen: nil,
						Rparen: nil,
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 3,
						Line:   28,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "test _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
					Start: ast.Position{
						Column: 1,
						Line:   24,
					},
				},
			},
		}},
		Eof: nil,
		Imports: []*ast.ImportDeclaration{&ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 17,
						Line:   4,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "import \"testing\"",
					Start: ast.Position{
						Column: 1,
						Line:   4,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 17,
							Line:   4,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "\"testing\"",
						Start: ast.Position{
							Column: 8,
							Line:   4,
						},
					},
				},
				Value: "testing",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 15,
						Line:   5,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "import \"array\"",
					Start: ast.Position{
						Column: 1,
						Line:   5,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   5,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "\"array\"",
						Start: ast.Position{
							Column: 8,
							Line:   5,
						},
					},
				},
				Value: "array",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 35,
						Line:   6,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "import \"influxdata/influxdb/tasks\"",
					Start: ast.Position{
						Column: 1,
						Line:   6,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 35,
							Line:   6,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "\"influxdata/influxdb/tasks\"",
						Start: ast.Position{
							Column: 8,
							Line:   6,
						},
					},
				},
				Value: "influxdata/influxdb/tasks",
			},
		}},
		Metadata: "parser-type=rust",
		Name:     "last_success_duration_option_test.flux",
		Package: &ast.PackageClause{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 19,
						Line:   1,
					},
					File:   "last_success_duration_option_test.flux",
					Source: "package tasks_test",
					Start: ast.Position{
						Column: 1,
						Line:   1,
					},
				},
			},
			Name: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 19,
							Line:   1,
						},
						File:   "last_success_duration_option_test.flux",
						Source: "tasks_test",
						Start: ast.Position{
							Column: 9,
							Line:   1,
						},
					},
				},
				Name: "tasks_test",
			},
		},
	}, &ast.File{
		BaseNode: ast.BaseNode{
			Comments: nil,
			Errors:   nil,
			Loc: &ast.SourceLocation{
				End: ast.Position{
					Column: 3,
					Line:   28,
				},
				File:   "last_success_with_option_test.flux",
				Source: "package tasks_test\n\n\nimport \"testing\"\nimport \"array\"\nimport \"influxdata/influxdb/tasks\"\n\noption now = () => 2020-09-08T09:00:00Z\noption tasks.lastSuccessTime = 2020-09-08T08:00:00Z\n\noutData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n\"\nt_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)\n\ntest _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
				Start: ast.Position{
					Column: 1,
					Line:   1,
				},
			},
		},
		Body: []ast.Statement{&ast.OptionStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 40,
							Line:   8,
						},
						File:   "last_success_with_option_test.flux",
						Source: "now = () => 2020-09-08T09:00:00Z",
						Start: ast.Position{
							Column: 8,
							Line:   8,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 11,
								Line:   8,
							},
							File:   "last_success_with_option_test.flux",
							Source: "now",
							Start: ast.Position{
								Column: 8,
								Line:   8,
							},
						},
					},
					Name: "now",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 40,
								Line:   8,
							},
							File:   "last_success_with_option_test.flux",
							Source: "() => 2020-09-08T09:00:00Z",
							Start: ast.Position{
								Column: 14,
								Line:   8,
							},
						},
					},
					Body: &ast.DateTimeLiteral{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 40,
									Line:   8,
								},
								File:   "last_success_with_option_test.flux",
								Source: "2020-09-08T09:00:00Z",
								Start: ast.Position{
									Column: 20,
									Line:   8,
								},
							},
						},
						Value: parser.MustParseTime("2020-09-08T09:00:00Z"),
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 40,
						Line:   8,
					},
					File:   "last_success_with_option_test.flux",
					Source: "option now = () => 2020-09-08T09:00:00Z",
					Start: ast.Position{
						Column: 1,
						Line:   8,
					},
				},
			},
		}, &ast.OptionStatement{
			Assignment: &ast.MemberAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 52,
							Line:   9,
						},
						File:   "last_success_with_option_test.flux",
						Source: "tasks.lastSuccessTime = 2020-09-08T08:00:00Z",
						Start: ast.Position{
							Column: 8,
							Line:   9,
						},
					},
				},
				Init: &ast.DateTimeLiteral{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 52,
								Line:   9,
							},
							File:   "last_success_with_option_test.flux",
							Source: "2020-09-08T08:00:00Z",
							Start: ast.Position{
								Column: 32,
								Line:   9,
							},
						},
					},
					Value: parser.MustParseTime("2020-09-08T08:00:00Z"),
				},
				Member: &ast.MemberExpression{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 29,
								Line:   9,
							},
							File:   "last_success_with_option_test.flux",
							Source: "tasks.lastSuccessTime",
							Start: ast.Position{
								Column: 8,
								Line:   9,
							},
						},
					},
					Lbrack: nil,
					Object: &ast.Identifier{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 13,
									Line:   9,
								},
								File:   "last_success_with_option_test.flux",
								Source: "tasks",
								Start: ast.Position{
									Column: 8,
									Line:   9,
								},
							},
						},
						Name: "tasks",
					},
					Property: &ast.Identifier{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 29,
									Line:   9,
								},
								File:   "last_success_with_option_test.flux",
								Source: "lastSuccessTime",
								Start: ast.Position{
									Column: 14,
									Line:   9,
								},
							},
						},
						Name: "lastSuccessTime",
					},
					Rbrack: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 52,
						Line:   9,
					},
					File:   "last_success_with_option_test.flux",
					Source: "option tasks.lastSuccessTime = 2020-09-08T08:00:00Z",
					Start: ast.Position{
						Column: 1,
						Line:   9,
					},
				},
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   17,
					},
					File:   "last_success_with_option_test.flux",
					Source: "outData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n\"",
					Start: ast.Position{
						Column: 1,
						Line:   11,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 8,
							Line:   11,
						},
						File:   "last_success_with_option_test.flux",
						Source: "outData",
						Start: ast.Position{
							Column: 1,
							Line:   11,
						},
					},
				},
				Name: "outData",
			},
			Init: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   17,
						},
						File:   "last_success_with_option_test.flux",
						Source: "\"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n\"",
						Start: ast.Position{
							Column: 11,
							Line:   11,
						},
					},
				},
				Value: "\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T08:00:00Z\n",
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   22,
					},
					File:   "last_success_with_option_test.flux",
					Source: "t_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)",
					Start: ast.Position{
						Column: 1,
						Line:   18,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   18,
						},
						File:   "last_success_with_option_test.flux",
						Source: "t_last_success",
						Start: ast.Position{
							Column: 1,
							Line:   18,
						},
					},
				},
				Name: "t_last_success",
			},
			Init: &ast.FunctionExpression{
				Arrow: nil,
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   22,
						},
						File:   "last_success_with_option_test.flux",
						Source: "() => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)",
						Start: ast.Position{
							Column: 18,
							Line:   18,
						},
					},
				},
				Body: &ast.CallExpression{
					Arguments: []ast.Expression{&ast.ObjectExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 6,
									Line:   21,
								},
								File:   "last_success_with_option_test.flux",
								Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ]",
								Start: ast.Position{
									Column: 5,
									Line:   19,
								},
							},
						},
						Lbrace: nil,
						Properties: []*ast.Property{&ast.Property{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 6,
										Line:   21,
									},
									File:   "last_success_with_option_test.flux",
									Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ]",
									Start: ast.Position{
										Column: 5,
										Line:   19,
									},
								},
							},
							Comma: nil,
							Key: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 9,
											Line:   19,
										},
										File:   "last_success_with_option_test.flux",
										Source: "rows",
										Start: ast.Position{
											Column: 5,
											Line:   19,
										},
									},
								},
								Name: "rows",
							},
							Separator: nil,
							Value: &ast.ArrayExpression{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 6,
											Line:   21,
										},
										File:   "last_success_with_option_test.flux",
										Source: "[\n        {_time: tasks.lastSuccess(orTime: now())},\n    ]",
										Start: ast.Position{
											Column: 11,
											Line:   19,
										},
									},
								},
								Elements: []ast.Expression{&ast.ObjectExpression{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 50,
												Line:   20,
											},
											File:   "last_success_with_option_test.flux",
											Source: "{_time: tasks.lastSuccess(orTime: now())}",
											Start: ast.Position{
												Column: 9,
												Line:   20,
											},
										},
									},
									Lbrace: nil,
									Properties: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 49,
													Line:   20,
												},
												File:   "last_success_with_option_test.flux",
												Source: "_time: tasks.lastSuccess(orTime: now())",
												Start: ast.Position{
													Column: 10,
													Line:   20,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 15,
														Line:   20,
													},
													File:   "last_success_with_option_test.flux",
													Source: "_time",
													Start: ast.Position{
														Column: 10,
														Line:   20,
													},
												},
											},
											Name: "_time",
										},
										Separator: nil,
										Value: &ast.CallExpression{
											Arguments: []ast.Expression{&ast.ObjectExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 48,
															Line:   20,
														},
														File:   "last_success_with_option_test.flux",
														Source: "orTime: now()",
														Start: ast.Position{
															Column: 35,
															Line:   20,
														},
													},
												},
												Lbrace: nil,
												Properties: []*ast.Property{&ast.Property{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 48,
																Line:   20,
															},
															File:   "last_success_with_option_test.flux",
															Source: "orTime: now()",
															Start: ast.Position{
																Column: 35,
																Line:   20,
															},
														},
													},
													Comma: nil,
													Key: &ast.Identifier{
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 41,
																	Line:   20,
																},
																File:   "last_success_with_option_test.flux",
																Source: "orTime",
																Start: ast.Position{
																	Column: 35,
																	Line:   20,
																},
															},
														},
														Name: "orTime",
													},
													Separator: nil,
													Value: &ast.CallExpression{
														Arguments: nil,
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 48,
																	Line:   20,
																},
																File:   "last_success_with_option_test.flux",
																Source: "now()",
																Start: ast.Position{
																	Column: 43,
																	Line:   20,
																},
															},
														},
														Callee: &ast.Identifier{
															BaseNode: ast.BaseNode{
																Comments: nil,
																Errors:   nil,
																Loc: &ast.SourceLocation{
																	End: ast.Position{
																		Column: 46,
																		Line:   20,
																	},
																	File:   "last_success_with_option_test.flux",
																	Source: "now",
																	Start: ast.Position{
																		Column: 43,
																		Line:   20,
																	},
																},
															},
															Name: "now",
														},
														Lparen: nil,
														Rparen: nil,
													},
												}},
												Rbrace: nil,
												With:   nil,
											}},
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 49,
														Line:   20,
													},
													File:   "last_success_with_option_test.flux",
													Source: "tasks.lastSuccess(orTime: now())",
													Start: ast.Position{
														Column: 17,
														Line:   20,
													},
												},
											},
											Callee: &ast.MemberExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 34,
															Line:   20,
														},
														File:   "last_success_with_option_test.flux",
														Source: "tasks.lastSuccess",
														Start: ast.Position{
															Column: 17,
															Line:   20,
														},
													},
												},
												Lbrack: nil,
												Object: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 22,
																Line:   20,
															},
															File:   "last_success_with_option_test.flux",
															Source: "tasks",
															Start: ast.Position{
																Column: 17,
																Line:   20,
															},
														},
													},
													Name: "tasks",
												},
												Property: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 34,
																Line:   20,
															},
															File:   "last_success_with_option_test.flux",
															Source: "lastSuccess",
															Start: ast.Position{
																Column: 23,
																Line:   20,
															},
														},
													},
													Name: "lastSuccess",
												},
												Rbrack: nil,
											},
											Lparen: nil,
											Rparen: nil,
										},
									}},
									Rbrace: nil,
									With:   nil,
								}},
								Lbrack: nil,
								Rbrack: nil,
							},
						}},
						Rbrace: nil,
						With:   nil,
					}},
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 2,
								Line:   22,
							},
							File:   "last_success_with_option_test.flux",
							Source: "array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)",
							Start: ast.Position{
								Column: 24,
								Line:   18,
							},
						},
					},
					Callee: &ast.MemberExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 34,
									Line:   18,
								},
								File:   "last_success_with_option_test.flux",
								Source: "array.from",
								Start: ast.Position{
									Column: 24,
									Line:   18,
								},
							},
						},
						Lbrack: nil,
						Object: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 29,
										Line:   18,
									},
									File:   "last_success_with_option_test.flux",
									Source: "array",
									Start: ast.Position{
										Column: 24,
										Line:   18,
									},
								},
							},
							Name: "array",
						},
						Property: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 34,
										Line:   18,
									},
									File:   "last_success_with_option_test.flux",
									Source: "from",
									Start: ast.Position{
										Column: 30,
										Line:   18,
									},
								},
							},
							Name: "from",
						},
						Rbrack: nil,
					},
					Lparen: nil,
					Rparen: nil,
				},
				Lparen: nil,
				Params: []*ast.Property{},
				Rparan: nil,
			},
		}, &ast.TestStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 3,
							Line:   28,
						},
						File:   "last_success_with_option_test.flux",
						Source: "_last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
						Start: ast.Position{
							Column: 6,
							Line:   24,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 19,
								Line:   24,
							},
							File:   "last_success_with_option_test.flux",
							Source: "_last_success",
							Start: ast.Position{
								Column: 6,
								Line:   24,
							},
						},
					},
					Name: "_last_success",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 3,
								Line:   28,
							},
							File:   "last_success_with_option_test.flux",
							Source: "() => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
							Start: ast.Position{
								Column: 22,
								Line:   24,
							},
						},
					},
					Body: &ast.ParenExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 3,
									Line:   28,
								},
								File:   "last_success_with_option_test.flux",
								Source: "({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
								Start: ast.Position{
									Column: 28,
									Line:   24,
								},
							},
						},
						Expression: &ast.ObjectExpression{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 2,
										Line:   28,
									},
									File:   "last_success_with_option_test.flux",
									Source: "{\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n}",
									Start: ast.Position{
										Column: 29,
										Line:   24,
									},
								},
							},
							Lbrace: nil,
							Properties: []*ast.Property{&ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 28,
											Line:   25,
										},
										File:   "last_success_with_option_test.flux",
										Source: "input: t_last_success()",
										Start: ast.Position{
											Column: 5,
											Line:   25,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 10,
												Line:   25,
											},
											File:   "last_success_with_option_test.flux",
											Source: "input",
											Start: ast.Position{
												Column: 5,
												Line:   25,
											},
										},
									},
									Name: "input",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 28,
												Line:   25,
											},
											File:   "last_success_with_option_test.flux",
											Source: "t_last_success()",
											Start: ast.Position{
												Column: 12,
												Line:   25,
											},
										},
									},
									Callee: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   25,
												},
												File:   "last_success_with_option_test.flux",
												Source: "t_last_success",
												Start: ast.Position{
													Column: 12,
													Line:   25,
												},
											},
										},
										Name: "t_last_success",
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 40,
											Line:   26,
										},
										File:   "last_success_with_option_test.flux",
										Source: "want: testing.loadMem(csv: outData)",
										Start: ast.Position{
											Column: 5,
											Line:   26,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 9,
												Line:   26,
											},
											File:   "last_success_with_option_test.flux",
											Source: "want",
											Start: ast.Position{
												Column: 5,
												Line:   26,
											},
										},
									},
									Name: "want",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: []ast.Expression{&ast.ObjectExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 39,
													Line:   26,
												},
												File:   "last_success_with_option_test.flux",
												Source: "csv: outData",
												Start: ast.Position{
													Column: 27,
													Line:   26,
												},
											},
										},
										Lbrace: nil,
										Properties: []*ast.Property{&ast.Property{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 39,
														Line:   26,
													},
													File:   "last_success_with_option_test.flux",
													Source: "csv: outData",
													Start: ast.Position{
														Column: 27,
														Line:   26,
													},
												},
											},
											Comma: nil,
											Key: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 30,
															Line:   26,
														},
														File:   "last_success_with_option_test.flux",
														Source: "csv",
														Start: ast.Position{
															Column: 27,
															Line:   26,
														},
													},
												},
												Name: "csv",
											},
											Separator: nil,
											Value: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 39,
															Line:   26,
														},
														File:   "last_success_with_option_test.flux",
														Source: "outData",
														Start: ast.Position{
															Column: 32,
															Line:   26,
														},
													},
												},
												Name: "outData",
											},
										}},
										Rbrace: nil,
										With:   nil,
									}},
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 40,
												Line:   26,
											},
											File:   "last_success_with_option_test.flux",
											Source: "testing.loadMem(csv: outData)",
											Start: ast.Position{
												Column: 11,
												Line:   26,
											},
										},
									},
									Callee: &ast.MemberExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   26,
												},
												File:   "last_success_with_option_test.flux",
												Source: "testing.loadMem",
												Start: ast.Position{
													Column: 11,
													Line:   26,
												},
											},
										},
										Lbrack: nil,
										Object: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 18,
														Line:   26,
													},
													File:   "last_success_with_option_test.flux",
													Source: "testing",
													Start: ast.Position{
														Column: 11,
														Line:   26,
													},
												},
											},
											Name: "testing",
										},
										Property: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 26,
														Line:   26,
													},
													File:   "last_success_with_option_test.flux",
													Source: "loadMem",
													Start: ast.Position{
														Column: 19,
														Line:   26,
													},
												},
											},
											Name: "loadMem",
										},
										Rbrack: nil,
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 30,
											Line:   27,
										},
										File:   "last_success_with_option_test.flux",
										Source: "fn: (tables=<-) => tables",
										Start: ast.Position{
											Column: 5,
											Line:   27,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 7,
												Line:   27,
											},
											File:   "last_success_with_option_test.flux",
											Source: "fn",
											Start: ast.Position{
												Column: 5,
												Line:   27,
											},
										},
									},
									Name: "fn",
								},
								Separator: nil,
								Value: &ast.FunctionExpression{
									Arrow: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 30,
												Line:   27,
											},
											File:   "last_success_with_option_test.flux",
											Source: "(tables=<-) => tables",
											Start: ast.Position{
												Column: 9,
												Line:   27,
											},
										},
									},
									Body: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 30,
													Line:   27,
												},
												File:   "last_success_with_option_test.flux",
												Source: "tables",
												Start: ast.Position{
													Column: 24,
													Line:   27,
												},
											},
										},
										Name: "tables",
									},
									Lparen: nil,
									Params: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   27,
												},
												File:   "last_success_with_option_test.flux",
												Source: "tables=<-",
												Start: ast.Position{
													Column: 10,
													Line:   27,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 16,
														Line:   27,
													},
													File:   "last_success_with_option_test.flux",
													Source: "tables",
													Start: ast.Position{
														Column: 10,
														Line:   27,
													},
												},
											},
											Name: "tables",
										},
										Separator: nil,
										Value: &ast.PipeLiteral{BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   27,
												},
												File:   "last_success_with_option_test.flux",
												Source: "<-",
												Start: ast.Position{
													Column: 17,
													Line:   27,
												},
											},
										}},
									}},
									Rparan: nil,
								},
							}},
							Rbrace: nil,
							With:   nil,
						},
						Lparen: nil,
						Rparen: nil,
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 3,
						Line:   28,
					},
					File:   "last_success_with_option_test.flux",
					Source: "test _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
					Start: ast.Position{
						Column: 1,
						Line:   24,
					},
				},
			},
		}},
		Eof: nil,
		Imports: []*ast.ImportDeclaration{&ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 17,
						Line:   4,
					},
					File:   "last_success_with_option_test.flux",
					Source: "import \"testing\"",
					Start: ast.Position{
						Column: 1,
						Line:   4,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 17,
							Line:   4,
						},
						File:   "last_success_with_option_test.flux",
						Source: "\"testing\"",
						Start: ast.Position{
							Column: 8,
							Line:   4,
						},
					},
				},
				Value: "testing",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 15,
						Line:   5,
					},
					File:   "last_success_with_option_test.flux",
					Source: "import \"array\"",
					Start: ast.Position{
						Column: 1,
						Line:   5,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   5,
						},
						File:   "last_success_with_option_test.flux",
						Source: "\"array\"",
						Start: ast.Position{
							Column: 8,
							Line:   5,
						},
					},
				},
				Value: "array",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 35,
						Line:   6,
					},
					File:   "last_success_with_option_test.flux",
					Source: "import \"influxdata/influxdb/tasks\"",
					Start: ast.Position{
						Column: 1,
						Line:   6,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 35,
							Line:   6,
						},
						File:   "last_success_with_option_test.flux",
						Source: "\"influxdata/influxdb/tasks\"",
						Start: ast.Position{
							Column: 8,
							Line:   6,
						},
					},
				},
				Value: "influxdata/influxdb/tasks",
			},
		}},
		Metadata: "parser-type=rust",
		Name:     "last_success_with_option_test.flux",
		Package: &ast.PackageClause{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 19,
						Line:   1,
					},
					File:   "last_success_with_option_test.flux",
					Source: "package tasks_test",
					Start: ast.Position{
						Column: 1,
						Line:   1,
					},
				},
			},
			Name: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 19,
							Line:   1,
						},
						File:   "last_success_with_option_test.flux",
						Source: "tasks_test",
						Start: ast.Position{
							Column: 9,
							Line:   1,
						},
					},
				},
				Name: "tasks_test",
			},
		},
	}, &ast.File{
		BaseNode: ast.BaseNode{
			Comments: nil,
			Errors:   nil,
			Loc: &ast.SourceLocation{
				End: ast.Position{
					Column: 3,
					Line:   27,
				},
				File:   "last_success_without_option_test.flux",
				Source: "package tasks_test\n\n\nimport \"testing\"\nimport \"array\"\nimport \"influxdata/influxdb/tasks\"\n\noption now = () => 2020-09-08T09:00:00Z\n\noutData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T09:00:00Z\n\"\nt_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)\n\ntest _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
				Start: ast.Position{
					Column: 1,
					Line:   1,
				},
			},
		},
		Body: []ast.Statement{&ast.OptionStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 40,
							Line:   8,
						},
						File:   "last_success_without_option_test.flux",
						Source: "now = () => 2020-09-08T09:00:00Z",
						Start: ast.Position{
							Column: 8,
							Line:   8,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 11,
								Line:   8,
							},
							File:   "last_success_without_option_test.flux",
							Source: "now",
							Start: ast.Position{
								Column: 8,
								Line:   8,
							},
						},
					},
					Name: "now",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 40,
								Line:   8,
							},
							File:   "last_success_without_option_test.flux",
							Source: "() => 2020-09-08T09:00:00Z",
							Start: ast.Position{
								Column: 14,
								Line:   8,
							},
						},
					},
					Body: &ast.DateTimeLiteral{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 40,
									Line:   8,
								},
								File:   "last_success_without_option_test.flux",
								Source: "2020-09-08T09:00:00Z",
								Start: ast.Position{
									Column: 20,
									Line:   8,
								},
							},
						},
						Value: parser.MustParseTime("2020-09-08T09:00:00Z"),
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 40,
						Line:   8,
					},
					File:   "last_success_without_option_test.flux",
					Source: "option now = () => 2020-09-08T09:00:00Z",
					Start: ast.Position{
						Column: 1,
						Line:   8,
					},
				},
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   16,
					},
					File:   "last_success_without_option_test.flux",
					Source: "outData = \"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T09:00:00Z\n\"",
					Start: ast.Position{
						Column: 1,
						Line:   10,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 8,
							Line:   10,
						},
						File:   "last_success_without_option_test.flux",
						Source: "outData",
						Start: ast.Position{
							Column: 1,
							Line:   10,
						},
					},
				},
				Name: "outData",
			},
			Init: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   16,
						},
						File:   "last_success_without_option_test.flux",
						Source: "\"\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T09:00:00Z\n\"",
						Start: ast.Position{
							Column: 11,
							Line:   10,
						},
					},
				},
				Value: "\n#datatype,string,long,dateTime:RFC3339\n#group,false,false,false\n#default,_result,,\n,result,table,_time\n,,0,2020-09-08T09:00:00Z\n",
			},
		}, &ast.VariableAssignment{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 2,
						Line:   21,
					},
					File:   "last_success_without_option_test.flux",
					Source: "t_last_success = () => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)",
					Start: ast.Position{
						Column: 1,
						Line:   17,
					},
				},
			},
			ID: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   17,
						},
						File:   "last_success_without_option_test.flux",
						Source: "t_last_success",
						Start: ast.Position{
							Column: 1,
							Line:   17,
						},
					},
				},
				Name: "t_last_success",
			},
			Init: &ast.FunctionExpression{
				Arrow: nil,
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 2,
							Line:   21,
						},
						File:   "last_success_without_option_test.flux",
						Source: "() => array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)",
						Start: ast.Position{
							Column: 18,
							Line:   17,
						},
					},
				},
				Body: &ast.CallExpression{
					Arguments: []ast.Expression{&ast.ObjectExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 6,
									Line:   20,
								},
								File:   "last_success_without_option_test.flux",
								Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ]",
								Start: ast.Position{
									Column: 5,
									Line:   18,
								},
							},
						},
						Lbrace: nil,
						Properties: []*ast.Property{&ast.Property{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 6,
										Line:   20,
									},
									File:   "last_success_without_option_test.flux",
									Source: "rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ]",
									Start: ast.Position{
										Column: 5,
										Line:   18,
									},
								},
							},
							Comma: nil,
							Key: &ast.Identifier{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 9,
											Line:   18,
										},
										File:   "last_success_without_option_test.flux",
										Source: "rows",
										Start: ast.Position{
											Column: 5,
											Line:   18,
										},
									},
								},
								Name: "rows",
							},
							Separator: nil,
							Value: &ast.ArrayExpression{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 6,
											Line:   20,
										},
										File:   "last_success_without_option_test.flux",
										Source: "[\n        {_time: tasks.lastSuccess(orTime: now())},\n    ]",
										Start: ast.Position{
											Column: 11,
											Line:   18,
										},
									},
								},
								Elements: []ast.Expression{&ast.ObjectExpression{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 50,
												Line:   19,
											},
											File:   "last_success_without_option_test.flux",
											Source: "{_time: tasks.lastSuccess(orTime: now())}",
											Start: ast.Position{
												Column: 9,
												Line:   19,
											},
										},
									},
									Lbrace: nil,
									Properties: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 49,
													Line:   19,
												},
												File:   "last_success_without_option_test.flux",
												Source: "_time: tasks.lastSuccess(orTime: now())",
												Start: ast.Position{
													Column: 10,
													Line:   19,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 15,
														Line:   19,
													},
													File:   "last_success_without_option_test.flux",
													Source: "_time",
													Start: ast.Position{
														Column: 10,
														Line:   19,
													},
												},
											},
											Name: "_time",
										},
										Separator: nil,
										Value: &ast.CallExpression{
											Arguments: []ast.Expression{&ast.ObjectExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 48,
															Line:   19,
														},
														File:   "last_success_without_option_test.flux",
														Source: "orTime: now()",
														Start: ast.Position{
															Column: 35,
															Line:   19,
														},
													},
												},
												Lbrace: nil,
												Properties: []*ast.Property{&ast.Property{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 48,
																Line:   19,
															},
															File:   "last_success_without_option_test.flux",
															Source: "orTime: now()",
															Start: ast.Position{
																Column: 35,
																Line:   19,
															},
														},
													},
													Comma: nil,
													Key: &ast.Identifier{
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 41,
																	Line:   19,
																},
																File:   "last_success_without_option_test.flux",
																Source: "orTime",
																Start: ast.Position{
																	Column: 35,
																	Line:   19,
																},
															},
														},
														Name: "orTime",
													},
													Separator: nil,
													Value: &ast.CallExpression{
														Arguments: nil,
														BaseNode: ast.BaseNode{
															Comments: nil,
															Errors:   nil,
															Loc: &ast.SourceLocation{
																End: ast.Position{
																	Column: 48,
																	Line:   19,
																},
																File:   "last_success_without_option_test.flux",
																Source: "now()",
																Start: ast.Position{
																	Column: 43,
																	Line:   19,
																},
															},
														},
														Callee: &ast.Identifier{
															BaseNode: ast.BaseNode{
																Comments: nil,
																Errors:   nil,
																Loc: &ast.SourceLocation{
																	End: ast.Position{
																		Column: 46,
																		Line:   19,
																	},
																	File:   "last_success_without_option_test.flux",
																	Source: "now",
																	Start: ast.Position{
																		Column: 43,
																		Line:   19,
																	},
																},
															},
															Name: "now",
														},
														Lparen: nil,
														Rparen: nil,
													},
												}},
												Rbrace: nil,
												With:   nil,
											}},
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 49,
														Line:   19,
													},
													File:   "last_success_without_option_test.flux",
													Source: "tasks.lastSuccess(orTime: now())",
													Start: ast.Position{
														Column: 17,
														Line:   19,
													},
												},
											},
											Callee: &ast.MemberExpression{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 34,
															Line:   19,
														},
														File:   "last_success_without_option_test.flux",
														Source: "tasks.lastSuccess",
														Start: ast.Position{
															Column: 17,
															Line:   19,
														},
													},
												},
												Lbrack: nil,
												Object: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 22,
																Line:   19,
															},
															File:   "last_success_without_option_test.flux",
															Source: "tasks",
															Start: ast.Position{
																Column: 17,
																Line:   19,
															},
														},
													},
													Name: "tasks",
												},
												Property: &ast.Identifier{
													BaseNode: ast.BaseNode{
														Comments: nil,
														Errors:   nil,
														Loc: &ast.SourceLocation{
															End: ast.Position{
																Column: 34,
																Line:   19,
															},
															File:   "last_success_without_option_test.flux",
															Source: "lastSuccess",
															Start: ast.Position{
																Column: 23,
																Line:   19,
															},
														},
													},
													Name: "lastSuccess",
												},
												Rbrack: nil,
											},
											Lparen: nil,
											Rparen: nil,
										},
									}},
									Rbrace: nil,
									With:   nil,
								}},
								Lbrack: nil,
								Rbrack: nil,
							},
						}},
						Rbrace: nil,
						With:   nil,
					}},
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 2,
								Line:   21,
							},
							File:   "last_success_without_option_test.flux",
							Source: "array.from(\n    rows: [\n        {_time: tasks.lastSuccess(orTime: now())},\n    ],\n)",
							Start: ast.Position{
								Column: 24,
								Line:   17,
							},
						},
					},
					Callee: &ast.MemberExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 34,
									Line:   17,
								},
								File:   "last_success_without_option_test.flux",
								Source: "array.from",
								Start: ast.Position{
									Column: 24,
									Line:   17,
								},
							},
						},
						Lbrack: nil,
						Object: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 29,
										Line:   17,
									},
									File:   "last_success_without_option_test.flux",
									Source: "array",
									Start: ast.Position{
										Column: 24,
										Line:   17,
									},
								},
							},
							Name: "array",
						},
						Property: &ast.Identifier{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 34,
										Line:   17,
									},
									File:   "last_success_without_option_test.flux",
									Source: "from",
									Start: ast.Position{
										Column: 30,
										Line:   17,
									},
								},
							},
							Name: "from",
						},
						Rbrack: nil,
					},
					Lparen: nil,
					Rparen: nil,
				},
				Lparen: nil,
				Params: []*ast.Property{},
				Rparan: nil,
			},
		}, &ast.TestStatement{
			Assignment: &ast.VariableAssignment{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 3,
							Line:   27,
						},
						File:   "last_success_without_option_test.flux",
						Source: "_last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
						Start: ast.Position{
							Column: 6,
							Line:   23,
						},
					},
				},
				ID: &ast.Identifier{
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 19,
								Line:   23,
							},
							File:   "last_success_without_option_test.flux",
							Source: "_last_success",
							Start: ast.Position{
								Column: 6,
								Line:   23,
							},
						},
					},
					Name: "_last_success",
				},
				Init: &ast.FunctionExpression{
					Arrow: nil,
					BaseNode: ast.BaseNode{
						Comments: nil,
						Errors:   nil,
						Loc: &ast.SourceLocation{
							End: ast.Position{
								Column: 3,
								Line:   27,
							},
							File:   "last_success_without_option_test.flux",
							Source: "() => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
							Start: ast.Position{
								Column: 22,
								Line:   23,
							},
						},
					},
					Body: &ast.ParenExpression{
						BaseNode: ast.BaseNode{
							Comments: nil,
							Errors:   nil,
							Loc: &ast.SourceLocation{
								End: ast.Position{
									Column: 3,
									Line:   27,
								},
								File:   "last_success_without_option_test.flux",
								Source: "({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
								Start: ast.Position{
									Column: 28,
									Line:   23,
								},
							},
						},
						Expression: &ast.ObjectExpression{
							BaseNode: ast.BaseNode{
								Comments: nil,
								Errors:   nil,
								Loc: &ast.SourceLocation{
									End: ast.Position{
										Column: 2,
										Line:   27,
									},
									File:   "last_success_without_option_test.flux",
									Source: "{\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n}",
									Start: ast.Position{
										Column: 29,
										Line:   23,
									},
								},
							},
							Lbrace: nil,
							Properties: []*ast.Property{&ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 28,
											Line:   24,
										},
										File:   "last_success_without_option_test.flux",
										Source: "input: t_last_success()",
										Start: ast.Position{
											Column: 5,
											Line:   24,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 10,
												Line:   24,
											},
											File:   "last_success_without_option_test.flux",
											Source: "input",
											Start: ast.Position{
												Column: 5,
												Line:   24,
											},
										},
									},
									Name: "input",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 28,
												Line:   24,
											},
											File:   "last_success_without_option_test.flux",
											Source: "t_last_success()",
											Start: ast.Position{
												Column: 12,
												Line:   24,
											},
										},
									},
									Callee: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   24,
												},
												File:   "last_success_without_option_test.flux",
												Source: "t_last_success",
												Start: ast.Position{
													Column: 12,
													Line:   24,
												},
											},
										},
										Name: "t_last_success",
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 40,
											Line:   25,
										},
										File:   "last_success_without_option_test.flux",
										Source: "want: testing.loadMem(csv: outData)",
										Start: ast.Position{
											Column: 5,
											Line:   25,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 9,
												Line:   25,
											},
											File:   "last_success_without_option_test.flux",
											Source: "want",
											Start: ast.Position{
												Column: 5,
												Line:   25,
											},
										},
									},
									Name: "want",
								},
								Separator: nil,
								Value: &ast.CallExpression{
									Arguments: []ast.Expression{&ast.ObjectExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 39,
													Line:   25,
												},
												File:   "last_success_without_option_test.flux",
												Source: "csv: outData",
												Start: ast.Position{
													Column: 27,
													Line:   25,
												},
											},
										},
										Lbrace: nil,
										Properties: []*ast.Property{&ast.Property{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 39,
														Line:   25,
													},
													File:   "last_success_without_option_test.flux",
													Source: "csv: outData",
													Start: ast.Position{
														Column: 27,
														Line:   25,
													},
												},
											},
											Comma: nil,
											Key: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 30,
															Line:   25,
														},
														File:   "last_success_without_option_test.flux",
														Source: "csv",
														Start: ast.Position{
															Column: 27,
															Line:   25,
														},
													},
												},
												Name: "csv",
											},
											Separator: nil,
											Value: &ast.Identifier{
												BaseNode: ast.BaseNode{
													Comments: nil,
													Errors:   nil,
													Loc: &ast.SourceLocation{
														End: ast.Position{
															Column: 39,
															Line:   25,
														},
														File:   "last_success_without_option_test.flux",
														Source: "outData",
														Start: ast.Position{
															Column: 32,
															Line:   25,
														},
													},
												},
												Name: "outData",
											},
										}},
										Rbrace: nil,
										With:   nil,
									}},
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 40,
												Line:   25,
											},
											File:   "last_success_without_option_test.flux",
											Source: "testing.loadMem(csv: outData)",
											Start: ast.Position{
												Column: 11,
												Line:   25,
											},
										},
									},
									Callee: &ast.MemberExpression{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 26,
													Line:   25,
												},
												File:   "last_success_without_option_test.flux",
												Source: "testing.loadMem",
												Start: ast.Position{
													Column: 11,
													Line:   25,
												},
											},
										},
										Lbrack: nil,
										Object: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 18,
														Line:   25,
													},
													File:   "last_success_without_option_test.flux",
													Source: "testing",
													Start: ast.Position{
														Column: 11,
														Line:   25,
													},
												},
											},
											Name: "testing",
										},
										Property: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 26,
														Line:   25,
													},
													File:   "last_success_without_option_test.flux",
													Source: "loadMem",
													Start: ast.Position{
														Column: 19,
														Line:   25,
													},
												},
											},
											Name: "loadMem",
										},
										Rbrack: nil,
									},
									Lparen: nil,
									Rparen: nil,
								},
							}, &ast.Property{
								BaseNode: ast.BaseNode{
									Comments: nil,
									Errors:   nil,
									Loc: &ast.SourceLocation{
										End: ast.Position{
											Column: 30,
											Line:   26,
										},
										File:   "last_success_without_option_test.flux",
										Source: "fn: (tables=<-) => tables",
										Start: ast.Position{
											Column: 5,
											Line:   26,
										},
									},
								},
								Comma: nil,
								Key: &ast.Identifier{
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 7,
												Line:   26,
											},
											File:   "last_success_without_option_test.flux",
											Source: "fn",
											Start: ast.Position{
												Column: 5,
												Line:   26,
											},
										},
									},
									Name: "fn",
								},
								Separator: nil,
								Value: &ast.FunctionExpression{
									Arrow: nil,
									BaseNode: ast.BaseNode{
										Comments: nil,
										Errors:   nil,
										Loc: &ast.SourceLocation{
											End: ast.Position{
												Column: 30,
												Line:   26,
											},
											File:   "last_success_without_option_test.flux",
											Source: "(tables=<-) => tables",
											Start: ast.Position{
												Column: 9,
												Line:   26,
											},
										},
									},
									Body: &ast.Identifier{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 30,
													Line:   26,
												},
												File:   "last_success_without_option_test.flux",
												Source: "tables",
												Start: ast.Position{
													Column: 24,
													Line:   26,
												},
											},
										},
										Name: "tables",
									},
									Lparen: nil,
									Params: []*ast.Property{&ast.Property{
										BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   26,
												},
												File:   "last_success_without_option_test.flux",
												Source: "tables=<-",
												Start: ast.Position{
													Column: 10,
													Line:   26,
												},
											},
										},
										Comma: nil,
										Key: &ast.Identifier{
											BaseNode: ast.BaseNode{
												Comments: nil,
												Errors:   nil,
												Loc: &ast.SourceLocation{
													End: ast.Position{
														Column: 16,
														Line:   26,
													},
													File:   "last_success_without_option_test.flux",
													Source: "tables",
													Start: ast.Position{
														Column: 10,
														Line:   26,
													},
												},
											},
											Name: "tables",
										},
										Separator: nil,
										Value: &ast.PipeLiteral{BaseNode: ast.BaseNode{
											Comments: nil,
											Errors:   nil,
											Loc: &ast.SourceLocation{
												End: ast.Position{
													Column: 19,
													Line:   26,
												},
												File:   "last_success_without_option_test.flux",
												Source: "<-",
												Start: ast.Position{
													Column: 17,
													Line:   26,
												},
											},
										}},
									}},
									Rparan: nil,
								},
							}},
							Rbrace: nil,
							With:   nil,
						},
						Lparen: nil,
						Rparen: nil,
					},
					Lparen: nil,
					Params: []*ast.Property{},
					Rparan: nil,
				},
			},
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 3,
						Line:   27,
					},
					File:   "last_success_without_option_test.flux",
					Source: "test _last_success = () => ({\n    input: t_last_success(),\n    want: testing.loadMem(csv: outData),\n    fn: (tables=<-) => tables,\n})",
					Start: ast.Position{
						Column: 1,
						Line:   23,
					},
				},
			},
		}},
		Eof: nil,
		Imports: []*ast.ImportDeclaration{&ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 17,
						Line:   4,
					},
					File:   "last_success_without_option_test.flux",
					Source: "import \"testing\"",
					Start: ast.Position{
						Column: 1,
						Line:   4,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 17,
							Line:   4,
						},
						File:   "last_success_without_option_test.flux",
						Source: "\"testing\"",
						Start: ast.Position{
							Column: 8,
							Line:   4,
						},
					},
				},
				Value: "testing",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 15,
						Line:   5,
					},
					File:   "last_success_without_option_test.flux",
					Source: "import \"array\"",
					Start: ast.Position{
						Column: 1,
						Line:   5,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 15,
							Line:   5,
						},
						File:   "last_success_without_option_test.flux",
						Source: "\"array\"",
						Start: ast.Position{
							Column: 8,
							Line:   5,
						},
					},
				},
				Value: "array",
			},
		}, &ast.ImportDeclaration{
			As: nil,
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 35,
						Line:   6,
					},
					File:   "last_success_without_option_test.flux",
					Source: "import \"influxdata/influxdb/tasks\"",
					Start: ast.Position{
						Column: 1,
						Line:   6,
					},
				},
			},
			Path: &ast.StringLiteral{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 35,
							Line:   6,
						},
						File:   "last_success_without_option_test.flux",
						Source: "\"influxdata/influxdb/tasks\"",
						Start: ast.Position{
							Column: 8,
							Line:   6,
						},
					},
				},
				Value: "influxdata/influxdb/tasks",
			},
		}},
		Metadata: "parser-type=rust",
		Name:     "last_success_without_option_test.flux",
		Package: &ast.PackageClause{
			BaseNode: ast.BaseNode{
				Comments: nil,
				Errors:   nil,
				Loc: &ast.SourceLocation{
					End: ast.Position{
						Column: 19,
						Line:   1,
					},
					File:   "last_success_without_option_test.flux",
					Source: "package tasks_test",
					Start: ast.Position{
						Column: 1,
						Line:   1,
					},
				},
			},
			Name: &ast.Identifier{
				BaseNode: ast.BaseNode{
					Comments: nil,
					Errors:   nil,
					Loc: &ast.SourceLocation{
						End: ast.Position{
							Column: 19,
							Line:   1,
						},
						File:   "last_success_without_option_test.flux",
						Source: "tasks_test",
						Start: ast.Position{
							Column: 9,
							Line:   1,
						},
					},
				},
				Name: "tasks_test",
			},
		},
	}},
	Package: "tasks_test",
	Path:    "influxdata/influxdb/tasks",
}}
